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

#ifndef __gen_flockIFlockChannel_h__
#define __gen_flockIFlockChannel_h__


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

#ifndef __gen_nsIURI_h__
#include "nsIURI.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    flockIFlockChannel */
#define FLOCKIFLOCKCHANNEL_IID_STR "7aaea0a3-9ed0-4055-ae4e-39ddcaeb3dfd"

#define FLOCKIFLOCKCHANNEL_IID \
  {0x7aaea0a3, 0x9ed0, 0x4055, \
    { 0xae, 0x4e, 0x39, 0xdd, 0xca, 0xeb, 0x3d, 0xfd }}

class NS_NO_VTABLE flockIFlockChannel : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFLOCKCHANNEL_IID)

  /* void init (in nsIURI AURI); */
  NS_IMETHOD Init(nsIURI *AURI) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFLOCKCHANNEL \
  NS_IMETHOD Init(nsIURI *AURI); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFLOCKCHANNEL(_to) \
  NS_IMETHOD Init(nsIURI *AURI) { return _to Init(AURI); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFLOCKCHANNEL(_to) \
  NS_IMETHOD Init(nsIURI *AURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(AURI); } 

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

/* Header file */
class _MYCLASS_ : public flockIFlockChannel
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFLOCKCHANNEL

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void init (in nsIURI AURI); */
NS_IMETHODIMP _MYCLASS_::Init(nsIURI *AURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIFlockChannel_h__ */
