/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM flockICookieService.idl
 */

#ifndef __gen_flockICookieService_h__
#define __gen_flockICookieService_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */

class nsIChannel; /* forward declaration */


/* starting interface:    flockICookieService */
#define FLOCKICOOKIESERVICE_IID_STR "f782acb9-3527-4c8d-a541-389e52e1920e"

#define FLOCKICOOKIESERVICE_IID \
  {0xf782acb9, 0x3527, 0x4c8d, \
    { 0xa5, 0x41, 0x38, 0x9e, 0x52, 0xe1, 0x92, 0x0e }}

class NS_NO_VTABLE NS_SCRIPTABLE flockICookieService : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKICOOKIESERVICE_IID)

  /* string getCookieStringAlways (in nsIURI aURI, in nsIChannel aChannel); */
  NS_SCRIPTABLE NS_IMETHOD GetCookieStringAlways(nsIURI *aURI, nsIChannel *aChannel, char **_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockICookieService, FLOCKICOOKIESERVICE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKICOOKIESERVICE \
  NS_SCRIPTABLE NS_IMETHOD GetCookieStringAlways(nsIURI *aURI, nsIChannel *aChannel, char **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKICOOKIESERVICE(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetCookieStringAlways(nsIURI *aURI, nsIChannel *aChannel, char **_retval) { return _to GetCookieStringAlways(aURI, aChannel, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKICOOKIESERVICE(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetCookieStringAlways(nsIURI *aURI, nsIChannel *aChannel, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCookieStringAlways(aURI, aChannel, _retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public flockICookieService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKICOOKIESERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, flockICookieService)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* string getCookieStringAlways (in nsIURI aURI, in nsIChannel aChannel); */
NS_IMETHODIMP _MYCLASS_::GetCookieStringAlways(nsIURI *aURI, nsIChannel *aChannel, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_flockICookieService_h__ */
