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

#ifndef __gen_flockIFeedProcessor_h__
#define __gen_flockIFeedProcessor_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 nsIRequestObserver; /* forward declaration */

class nsIURI; /* forward declaration */


/* starting interface:    flockIFeedProcessor */
#define FLOCKIFEEDPROCESSOR_IID_STR "5c1e35cc-c693-4a0b-b71b-0313da650bbb"

#define FLOCKIFEEDPROCESSOR_IID \
  {0x5c1e35cc, 0xc693, 0x4a0b, \
    { 0xb7, 0x1b, 0x03, 0x13, 0xda, 0x65, 0x0b, 0xbb }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIFeedProcessor : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIFEEDPROCESSOR_IID)

  /* void parseFeedMetadataAsync (in nsIRequestObserver requestObserver, in nsIURI uri); */
  NS_SCRIPTABLE NS_IMETHOD ParseFeedMetadataAsync(nsIRequestObserver *requestObserver, nsIURI *uri) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIFeedProcessor, FLOCKIFEEDPROCESSOR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDPROCESSOR \
  NS_SCRIPTABLE NS_IMETHOD ParseFeedMetadataAsync(nsIRequestObserver *requestObserver, nsIURI *uri); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDPROCESSOR(_to) \
  NS_SCRIPTABLE NS_IMETHOD ParseFeedMetadataAsync(nsIRequestObserver *requestObserver, nsIURI *uri) { return _to ParseFeedMetadataAsync(requestObserver, uri); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDPROCESSOR(_to) \
  NS_SCRIPTABLE NS_IMETHOD ParseFeedMetadataAsync(nsIRequestObserver *requestObserver, nsIURI *uri) { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseFeedMetadataAsync(requestObserver, uri); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedProcessor
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDPROCESSOR

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void parseFeedMetadataAsync (in nsIRequestObserver requestObserver, in nsIURI uri); */
NS_IMETHODIMP _MYCLASS_::ParseFeedMetadataAsync(nsIRequestObserver *requestObserver, nsIURI *uri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFeedContainer */
#define FLOCKIFEEDCONTAINER_IID_STR "c385f3f5-5a17-4d7d-91db-d792fac65607"

#define FLOCKIFEEDCONTAINER_IID \
  {0xc385f3f5, 0x5a17, 0x4d7d, \
    { 0x91, 0xdb, 0xd7, 0x92, 0xfa, 0xc6, 0x56, 0x07 }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIFeedContainer : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIFEEDCONTAINER_IID)

  /* readonly attribute boolean metadataOnly; */
  NS_SCRIPTABLE NS_IMETHOD GetMetadataOnly(PRBool *aMetadataOnly) = 0;

  /* void setMetadataOnly (in boolean metadataOnly); */
  NS_SCRIPTABLE NS_IMETHOD SetMetadataOnly(PRBool metadataOnly) = 0;

  /* void setMediaRSS (in boolean aMediaRSS); */
  NS_SCRIPTABLE NS_IMETHOD SetMediaRSS(PRBool aMediaRSS) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIFeedContainer, FLOCKIFEEDCONTAINER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDCONTAINER \
  NS_SCRIPTABLE NS_IMETHOD GetMetadataOnly(PRBool *aMetadataOnly); \
  NS_SCRIPTABLE NS_IMETHOD SetMetadataOnly(PRBool metadataOnly); \
  NS_SCRIPTABLE NS_IMETHOD SetMediaRSS(PRBool aMediaRSS); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDCONTAINER(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetMetadataOnly(PRBool *aMetadataOnly) { return _to GetMetadataOnly(aMetadataOnly); } \
  NS_SCRIPTABLE NS_IMETHOD SetMetadataOnly(PRBool metadataOnly) { return _to SetMetadataOnly(metadataOnly); } \
  NS_SCRIPTABLE NS_IMETHOD SetMediaRSS(PRBool aMediaRSS) { return _to SetMediaRSS(aMediaRSS); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDCONTAINER(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetMetadataOnly(PRBool *aMetadataOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMetadataOnly(aMetadataOnly); } \
  NS_SCRIPTABLE NS_IMETHOD SetMetadataOnly(PRBool metadataOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMetadataOnly(metadataOnly); } \
  NS_SCRIPTABLE NS_IMETHOD SetMediaRSS(PRBool aMediaRSS) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMediaRSS(aMediaRSS); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedContainer
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDCONTAINER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* readonly attribute boolean metadataOnly; */
NS_IMETHODIMP _MYCLASS_::GetMetadataOnly(PRBool *aMetadataOnly)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setMetadataOnly (in boolean metadataOnly); */
NS_IMETHODIMP _MYCLASS_::SetMetadataOnly(PRBool metadataOnly)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setMediaRSS (in boolean aMediaRSS); */
NS_IMETHODIMP _MYCLASS_::SetMediaRSS(PRBool aMediaRSS)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIFeedProcessor_h__ */
