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

#ifndef __gen_flockIFeedService_h__
#define __gen_flockIFeedService_h__


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

#ifndef __gen_nsIArray_h__
#include "nsIArray.h"
#endif

#ifndef __gen_nsIChannel_h__
#include "nsIChannel.h"
#endif

#ifndef __gen_nsIRDFDataSource_h__
#include "nsIRDFDataSource.h"
#endif

#ifndef __gen_nsIDOMDocument_h__
#include "nsIDOMDocument.h"
#endif

#ifndef __gen_nsISimpleEnumerator_h__
#include "nsISimpleEnumerator.h"
#endif

#ifndef __gen_flockIFeedChannel_h__
#include "flockIFeedChannel.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:    flockIFeedPost */
#define FLOCKIFEEDPOST_IID_STR "c931064c-c0be-46b8-a91b-f5f368907e0f"

#define FLOCKIFEEDPOST_IID \
  {0xc931064c, 0xc0be, 0x46b8, \
    { 0xa9, 0x1b, 0xf5, 0xf3, 0x68, 0x90, 0x7e, 0x0f }}

class NS_NO_VTABLE flockIFeedPost : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDPOST_IID)

  /* attribute AString link; */
  NS_IMETHOD GetLink(nsAString & aLink) = 0;
  NS_IMETHOD SetLink(const nsAString & aLink) = 0;

  /* attribute AUTF8String title; */
  NS_IMETHOD GetTitle(nsACString & aTitle) = 0;
  NS_IMETHOD SetTitle(const nsACString & aTitle) = 0;

  /* attribute long long datevalue; */
  NS_IMETHOD GetDatevalue(PRInt64 *aDatevalue) = 0;
  NS_IMETHOD SetDatevalue(PRInt64 aDatevalue) = 0;

  /* attribute long indexvalue; */
  NS_IMETHOD GetIndexvalue(PRInt32 *aIndexvalue) = 0;
  NS_IMETHOD SetIndexvalue(PRInt32 aIndexvalue) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDPOST \
  NS_IMETHOD GetLink(nsAString & aLink); \
  NS_IMETHOD SetLink(const nsAString & aLink); \
  NS_IMETHOD GetTitle(nsACString & aTitle); \
  NS_IMETHOD SetTitle(const nsACString & aTitle); \
  NS_IMETHOD GetDatevalue(PRInt64 *aDatevalue); \
  NS_IMETHOD SetDatevalue(PRInt64 aDatevalue); \
  NS_IMETHOD GetIndexvalue(PRInt32 *aIndexvalue); \
  NS_IMETHOD SetIndexvalue(PRInt32 aIndexvalue); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDPOST(_to) \
  NS_IMETHOD GetLink(nsAString & aLink) { return _to GetLink(aLink); } \
  NS_IMETHOD SetLink(const nsAString & aLink) { return _to SetLink(aLink); } \
  NS_IMETHOD GetTitle(nsACString & aTitle) { return _to GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString & aTitle) { return _to SetTitle(aTitle); } \
  NS_IMETHOD GetDatevalue(PRInt64 *aDatevalue) { return _to GetDatevalue(aDatevalue); } \
  NS_IMETHOD SetDatevalue(PRInt64 aDatevalue) { return _to SetDatevalue(aDatevalue); } \
  NS_IMETHOD GetIndexvalue(PRInt32 *aIndexvalue) { return _to GetIndexvalue(aIndexvalue); } \
  NS_IMETHOD SetIndexvalue(PRInt32 aIndexvalue) { return _to SetIndexvalue(aIndexvalue); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDPOST(_to) \
  NS_IMETHOD GetLink(nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
  NS_IMETHOD SetLink(const nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
  NS_IMETHOD GetTitle(nsACString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
  NS_IMETHOD GetDatevalue(PRInt64 *aDatevalue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDatevalue(aDatevalue); } \
  NS_IMETHOD SetDatevalue(PRInt64 aDatevalue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDatevalue(aDatevalue); } \
  NS_IMETHOD GetIndexvalue(PRInt32 *aIndexvalue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndexvalue(aIndexvalue); } \
  NS_IMETHOD SetIndexvalue(PRInt32 aIndexvalue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIndexvalue(aIndexvalue); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedPost
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDPOST

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* attribute AString link; */
NS_IMETHODIMP _MYCLASS_::GetLink(nsAString & aLink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetLink(const nsAString & aLink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String title; */
NS_IMETHODIMP _MYCLASS_::GetTitle(nsACString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetTitle(const nsACString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long long datevalue; */
NS_IMETHODIMP _MYCLASS_::GetDatevalue(PRInt64 *aDatevalue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetDatevalue(PRInt64 aDatevalue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long indexvalue; */
NS_IMETHODIMP _MYCLASS_::GetIndexvalue(PRInt32 *aIndexvalue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIndexvalue(PRInt32 aIndexvalue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFeedInfo */
#define FLOCKIFEEDINFO_IID_STR "f8b8e2d3-8436-4ea7-8016-f64f18ee0667"

#define FLOCKIFEEDINFO_IID \
  {0xf8b8e2d3, 0x8436, 0x4ea7, \
    { 0x80, 0x16, 0xf6, 0x4f, 0x18, 0xee, 0x06, 0x67 }}

class NS_NO_VTABLE flockIFeedInfo : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDINFO_IID)

  /* attribute AString url; */
  NS_IMETHOD GetUrl(nsAString & aUrl) = 0;
  NS_IMETHOD SetUrl(const nsAString & aUrl) = 0;

  /* attribute AUTF8String title; */
  NS_IMETHOD GetTitle(nsACString & aTitle) = 0;
  NS_IMETHOD SetTitle(const nsACString & aTitle) = 0;

  /* attribute AString type; */
  NS_IMETHOD GetType(nsAString & aType) = 0;
  NS_IMETHOD SetType(const nsAString & aType) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDINFO \
  NS_IMETHOD GetUrl(nsAString & aUrl); \
  NS_IMETHOD SetUrl(const nsAString & aUrl); \
  NS_IMETHOD GetTitle(nsACString & aTitle); \
  NS_IMETHOD SetTitle(const nsACString & aTitle); \
  NS_IMETHOD GetType(nsAString & aType); \
  NS_IMETHOD SetType(const nsAString & aType); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDINFO(_to) \
  NS_IMETHOD GetUrl(nsAString & aUrl) { return _to GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(const nsAString & aUrl) { return _to SetUrl(aUrl); } \
  NS_IMETHOD GetTitle(nsACString & aTitle) { return _to GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString & aTitle) { return _to SetTitle(aTitle); } \
  NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDINFO(_to) \
  NS_IMETHOD GetUrl(nsAString & aUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(const nsAString & aUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUrl(aUrl); } \
  NS_IMETHOD GetTitle(nsACString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
  NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDINFO

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* attribute AString url; */
NS_IMETHODIMP _MYCLASS_::GetUrl(nsAString & aUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetUrl(const nsAString & aUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String title; */
NS_IMETHODIMP _MYCLASS_::GetTitle(nsACString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetTitle(const nsACString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString type; */
NS_IMETHODIMP _MYCLASS_::GetType(nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetType(const nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFeedCollection */
#define FLOCKIFEEDCOLLECTION_IID_STR "933e6da2-4907-4726-a069-55a76afde545"

#define FLOCKIFEEDCOLLECTION_IID \
  {0x933e6da2, 0x4907, 0x4726, \
    { 0xa0, 0x69, 0x55, 0xa7, 0x6a, 0xfd, 0xe5, 0x45 }}

class NS_NO_VTABLE flockIFeedCollection : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDCOLLECTION_IID)

  /* attribute AUTF8String urn; */
  NS_IMETHOD GetUrn(nsACString & aUrn) = 0;
  NS_IMETHOD SetUrn(const nsACString & aUrn) = 0;

  /* attribute AUTF8String title; */
  NS_IMETHOD GetTitle(nsACString & aTitle) = 0;
  NS_IMETHOD SetTitle(const nsACString & aTitle) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDCOLLECTION \
  NS_IMETHOD GetUrn(nsACString & aUrn); \
  NS_IMETHOD SetUrn(const nsACString & aUrn); \
  NS_IMETHOD GetTitle(nsACString & aTitle); \
  NS_IMETHOD SetTitle(const nsACString & aTitle); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDCOLLECTION(_to) \
  NS_IMETHOD GetUrn(nsACString & aUrn) { return _to GetUrn(aUrn); } \
  NS_IMETHOD SetUrn(const nsACString & aUrn) { return _to SetUrn(aUrn); } \
  NS_IMETHOD GetTitle(nsACString & aTitle) { return _to GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString & aTitle) { return _to SetTitle(aTitle); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDCOLLECTION(_to) \
  NS_IMETHOD GetUrn(nsACString & aUrn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrn(aUrn); } \
  NS_IMETHOD SetUrn(const nsACString & aUrn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUrn(aUrn); } \
  NS_IMETHOD GetTitle(nsACString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedCollection
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDCOLLECTION

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* attribute AUTF8String urn; */
NS_IMETHODIMP _MYCLASS_::GetUrn(nsACString & aUrn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetUrn(const nsACString & aUrn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String title; */
NS_IMETHODIMP _MYCLASS_::GetTitle(nsACString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetTitle(const nsACString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFeedRefreshListener */
#define FLOCKIFEEDREFRESHLISTENER_IID_STR "5bec85a0-8507-4bdd-9efa-0e29b62186fa"

#define FLOCKIFEEDREFRESHLISTENER_IID \
  {0x5bec85a0, 0x8507, 0x4bdd, \
    { 0x9e, 0xfa, 0x0e, 0x29, 0xb6, 0x21, 0x86, 0xfa }}

class NS_NO_VTABLE flockIFeedRefreshListener : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDREFRESHLISTENER_IID)

  /* void onProgress (in long current, in long total, in string message); */
  NS_IMETHOD OnProgress(PRInt32 current, PRInt32 total, const char *message) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDREFRESHLISTENER \
  NS_IMETHOD OnProgress(PRInt32 current, PRInt32 total, const char *message); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDREFRESHLISTENER(_to) \
  NS_IMETHOD OnProgress(PRInt32 current, PRInt32 total, const char *message) { return _to OnProgress(current, total, message); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDREFRESHLISTENER(_to) \
  NS_IMETHOD OnProgress(PRInt32 current, PRInt32 total, const char *message) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnProgress(current, total, message); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedRefreshListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDREFRESHLISTENER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void onProgress (in long current, in long total, in string message); */
NS_IMETHODIMP _MYCLASS_::OnProgress(PRInt32 current, PRInt32 total, const char *message)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFeedPrioritizeListener */
#define FLOCKIFEEDPRIORITIZELISTENER_IID_STR "a805d0e3-2c5b-487b-a934-848eabd809b2"

#define FLOCKIFEEDPRIORITIZELISTENER_IID \
  {0xa805d0e3, 0x2c5b, 0x487b, \
    { 0xa9, 0x34, 0x84, 0x8e, 0xab, 0xd8, 0x09, 0xb2 }}

class NS_NO_VTABLE flockIFeedPrioritizeListener : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDPRIORITIZELISTENER_IID)

  /* void onComplete (in PRUint32 count, [array, size_is (count), const] in flockIFeedInfo feeds); */
  NS_IMETHOD OnComplete(PRUint32 count, const flockIFeedInfo **feeds) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDPRIORITIZELISTENER \
  NS_IMETHOD OnComplete(PRUint32 count, const flockIFeedInfo **feeds); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDPRIORITIZELISTENER(_to) \
  NS_IMETHOD OnComplete(PRUint32 count, const flockIFeedInfo **feeds) { return _to OnComplete(count, feeds); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDPRIORITIZELISTENER(_to) \
  NS_IMETHOD OnComplete(PRUint32 count, const flockIFeedInfo **feeds) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnComplete(count, feeds); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedPrioritizeListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDPRIORITIZELISTENER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void onComplete (in PRUint32 count, [array, size_is (count), const] in flockIFeedInfo feeds); */
NS_IMETHODIMP _MYCLASS_::OnComplete(PRUint32 count, const flockIFeedInfo **feeds)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFeedServiceListener */
#define FLOCKIFEEDSERVICELISTENER_IID_STR "6ad0829e-547f-460e-882b-fc7708ff13b7"

#define FLOCKIFEEDSERVICELISTENER_IID \
  {0x6ad0829e, 0x547f, 0x460e, \
    { 0x88, 0x2b, 0xfc, 0x77, 0x08, 0xff, 0x13, 0xb7 }}

class NS_NO_VTABLE flockIFeedServiceListener : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDSERVICELISTENER_IID)

  /* void onChanged (); */
  NS_IMETHOD OnChanged(void) = 0;

  /* void onNewCountUpdate (in long count); */
  NS_IMETHOD OnNewCountUpdate(PRInt32 count) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDSERVICELISTENER \
  NS_IMETHOD OnChanged(void); \
  NS_IMETHOD OnNewCountUpdate(PRInt32 count); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDSERVICELISTENER(_to) \
  NS_IMETHOD OnChanged(void) { return _to OnChanged(); } \
  NS_IMETHOD OnNewCountUpdate(PRInt32 count) { return _to OnNewCountUpdate(count); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDSERVICELISTENER(_to) \
  NS_IMETHOD OnChanged(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnChanged(); } \
  NS_IMETHOD OnNewCountUpdate(PRInt32 count) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnNewCountUpdate(count); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedServiceListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDSERVICELISTENER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void onChanged (); */
NS_IMETHODIMP _MYCLASS_::OnChanged()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onNewCountUpdate (in long count); */
NS_IMETHODIMP _MYCLASS_::OnNewCountUpdate(PRInt32 count)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFeedService */
#define FLOCKIFEEDSERVICE_IID_STR "e2c1738a-461f-4b07-88f7-9c17c5f20257"

#define FLOCKIFEEDSERVICE_IID \
  {0xe2c1738a, 0x461f, 0x4b07, \
    { 0x88, 0xf7, 0x9c, 0x17, 0xc5, 0xf2, 0x02, 0x57 }}

class NS_NO_VTABLE flockIFeedService : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDSERVICE_IID)

  /* nsIRDFDataSource getFeed (in AString url); */
  NS_IMETHOD GetFeed(const nsAString & url, nsIRDFDataSource **_retval) = 0;

  /* void getFeedData (in AString url, inout PRUint32 count, [array, size_is (count), retval] out flockIFeedPost posts); */
  NS_IMETHOD GetFeedData(const nsAString & url, PRUint32 *count, flockIFeedPost ***posts) = 0;

  /* void loadFeedView (in AString url, in flockIFeedChannel channel); */
  NS_IMETHOD LoadFeedView(const nsAString & url, flockIFeedChannel *channel) = 0;

  /* void refreshFeed (in AString url); */
  NS_IMETHOD RefreshFeed(const nsAString & url) = 0;

  /* void refreshAllFeeds (in flockIFeedRefreshListener listener); */
  NS_IMETHOD RefreshAllFeeds(flockIFeedRefreshListener *listener) = 0;

  /* void prioritizeFeeds (in PRUint32 len, [array, size_is (len), const] in string urls, in flockIFeedPrioritizeListener listener); */
  NS_IMETHOD PrioritizeFeeds(PRUint32 len, const char **urls, flockIFeedPrioritizeListener *listener) = 0;

  /* void prioritizeFeedsQuick (in PRUint32 len, [array, size_is (len), const] in flockIFeedInfo feeds, out PRUint32 count, [array, size_is (count), retval] out flockIFeedInfo info); */
  NS_IMETHOD PrioritizeFeedsQuick(PRUint32 len, const flockIFeedInfo **feeds, PRUint32 *count, flockIFeedInfo ***info) = 0;

  /* string joinFeedsURLs (in PRUint32 len, [array, size_is (len), const] in string urls); */
  NS_IMETHOD JoinFeedsURLs(PRUint32 len, const char **urls, char **_retval) = 0;

  /* boolean isFeed (in nsIDOMDocument dom); */
  NS_IMETHOD IsFeed(nsIDOMDocument *dom, PRBool *_retval) = 0;

  /* string getFeedType (in nsIDOMDocument dom); */
  NS_IMETHOD GetFeedType(nsIDOMDocument *dom, char **_retval) = 0;

  /* void subscribeFeed (in AString url, in AUTF8String target, in long orientation, in boolean defer); */
  NS_IMETHOD SubscribeFeed(const nsAString & url, const nsACString & target, PRInt32 orientation, PRBool defer) = 0;

  /* void unsubscribeFeed (in AString url); */
  NS_IMETHOD UnsubscribeFeed(const nsAString & url) = 0;

  /* boolean isSubscription (in AString url); */
  NS_IMETHOD IsSubscription(const nsAString & url, PRBool *_retval) = 0;

  /* void grabNewSubscriptions (in PRUint32 len, [array, size_is (len), const] in string urls, in flockIFeedRefreshListener listener); */
  NS_IMETHOD GrabNewSubscriptions(PRUint32 len, const char **urls, flockIFeedRefreshListener *listener) = 0;

  /* void markRead (in AString url, in AString id); */
  NS_IMETHOD MarkRead(const nsAString & url, const nsAString & id) = 0;

  /* void markUnread (in AString url, in AString id); */
  NS_IMETHOD MarkUnread(const nsAString & url, const nsAString & id) = 0;

  /* void markAllRead (in AUTF8String urn); */
  NS_IMETHOD MarkAllRead(const nsACString & urn) = 0;

  /* void markAllUnread (in AUTF8String urn); */
  NS_IMETHOD MarkAllUnread(const nsACString & urn) = 0;

  /* void flagPost (in AString url, in AString id); */
  NS_IMETHOD FlagPost(const nsAString & url, const nsAString & id) = 0;

  /* void unflagPost (in AString url, in AString id); */
  NS_IMETHOD UnflagPost(const nsAString & url, const nsAString & id) = 0;

  /* long getNewCount (); */
  NS_IMETHOD GetNewCount(PRInt32 *_retval) = 0;

  /* void resetNewCount (); */
  NS_IMETHOD ResetNewCount(void) = 0;

  /* void moveFeed (in AString url, in AUTF8String target, in long orientation); */
  NS_IMETHOD MoveFeed(const nsAString & url, const nsACString & target, PRInt32 orientation) = 0;

  /* void addCollection (in AUTF8String collection); */
  NS_IMETHOD AddCollection(const nsACString & collection) = 0;

  /* void removeCollection (in AUTF8String collection); */
  NS_IMETHOD RemoveCollection(const nsACString & collection) = 0;

  /* void moveCollection (in AUTF8String collection, in AUTF8String target, in long orientation); */
  NS_IMETHOD MoveCollection(const nsACString & collection, const nsACString & target, PRInt32 orientation) = 0;

  enum { ORIENT_ABOVE = -1 };

  enum { ORIENT_INSIDE = 0 };

  enum { ORIENT_BELOW = 1 };

  /* void renameItem (in AUTF8String item, in AUTF8String title); */
  NS_IMETHOD RenameItem(const nsACString & item, const nsACString & title) = 0;

  /* nsIRDFDataSource getSubscriptions (); */
  NS_IMETHOD GetSubscriptions(nsIRDFDataSource **_retval) = 0;

  /* void getCollections (out PRUint32 count, [array, size_is (count), retval] out flockIFeedCollection collection); */
  NS_IMETHOD GetCollections(PRUint32 *count, flockIFeedCollection ***collection) = 0;

  /* long getTotalUnreadCount (); */
  NS_IMETHOD GetTotalUnreadCount(PRInt32 *_retval) = 0;

  /* void addObserver (in flockIFeedServiceListener listener); */
  NS_IMETHOD AddObserver(flockIFeedServiceListener *listener) = 0;

  /* void removeObserver (in flockIFeedServiceListener listener); */
  NS_IMETHOD RemoveObserver(flockIFeedServiceListener *listener) = 0;

  /* void setDefaultStyle (in AUTF8String urn, in AString style); */
  NS_IMETHOD SetDefaultStyle(const nsACString & urn, const nsAString & style) = 0;

  /* void setDefaultColumns (in long columns); */
  NS_IMETHOD SetDefaultColumns(PRInt32 columns) = 0;

  /* void setShowUnread (in boolean show); */
  NS_IMETHOD SetShowUnread(PRBool show) = 0;

  /* void setShowRead (in boolean show); */
  NS_IMETHOD SetShowRead(PRBool show) = 0;

  /* void setShowFlagged (in boolean show); */
  NS_IMETHOD SetShowFlagged(PRBool show) = 0;

  /* string test (); */
  NS_IMETHOD Test(char **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDSERVICE \
  NS_IMETHOD GetFeed(const nsAString & url, nsIRDFDataSource **_retval); \
  NS_IMETHOD GetFeedData(const nsAString & url, PRUint32 *count, flockIFeedPost ***posts); \
  NS_IMETHOD LoadFeedView(const nsAString & url, flockIFeedChannel *channel); \
  NS_IMETHOD RefreshFeed(const nsAString & url); \
  NS_IMETHOD RefreshAllFeeds(flockIFeedRefreshListener *listener); \
  NS_IMETHOD PrioritizeFeeds(PRUint32 len, const char **urls, flockIFeedPrioritizeListener *listener); \
  NS_IMETHOD PrioritizeFeedsQuick(PRUint32 len, const flockIFeedInfo **feeds, PRUint32 *count, flockIFeedInfo ***info); \
  NS_IMETHOD JoinFeedsURLs(PRUint32 len, const char **urls, char **_retval); \
  NS_IMETHOD IsFeed(nsIDOMDocument *dom, PRBool *_retval); \
  NS_IMETHOD GetFeedType(nsIDOMDocument *dom, char **_retval); \
  NS_IMETHOD SubscribeFeed(const nsAString & url, const nsACString & target, PRInt32 orientation, PRBool defer); \
  NS_IMETHOD UnsubscribeFeed(const nsAString & url); \
  NS_IMETHOD IsSubscription(const nsAString & url, PRBool *_retval); \
  NS_IMETHOD GrabNewSubscriptions(PRUint32 len, const char **urls, flockIFeedRefreshListener *listener); \
  NS_IMETHOD MarkRead(const nsAString & url, const nsAString & id); \
  NS_IMETHOD MarkUnread(const nsAString & url, const nsAString & id); \
  NS_IMETHOD MarkAllRead(const nsACString & urn); \
  NS_IMETHOD MarkAllUnread(const nsACString & urn); \
  NS_IMETHOD FlagPost(const nsAString & url, const nsAString & id); \
  NS_IMETHOD UnflagPost(const nsAString & url, const nsAString & id); \
  NS_IMETHOD GetNewCount(PRInt32 *_retval); \
  NS_IMETHOD ResetNewCount(void); \
  NS_IMETHOD MoveFeed(const nsAString & url, const nsACString & target, PRInt32 orientation); \
  NS_IMETHOD AddCollection(const nsACString & collection); \
  NS_IMETHOD RemoveCollection(const nsACString & collection); \
  NS_IMETHOD MoveCollection(const nsACString & collection, const nsACString & target, PRInt32 orientation); \
  NS_IMETHOD RenameItem(const nsACString & item, const nsACString & title); \
  NS_IMETHOD GetSubscriptions(nsIRDFDataSource **_retval); \
  NS_IMETHOD GetCollections(PRUint32 *count, flockIFeedCollection ***collection); \
  NS_IMETHOD GetTotalUnreadCount(PRInt32 *_retval); \
  NS_IMETHOD AddObserver(flockIFeedServiceListener *listener); \
  NS_IMETHOD RemoveObserver(flockIFeedServiceListener *listener); \
  NS_IMETHOD SetDefaultStyle(const nsACString & urn, const nsAString & style); \
  NS_IMETHOD SetDefaultColumns(PRInt32 columns); \
  NS_IMETHOD SetShowUnread(PRBool show); \
  NS_IMETHOD SetShowRead(PRBool show); \
  NS_IMETHOD SetShowFlagged(PRBool show); \
  NS_IMETHOD Test(char **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDSERVICE(_to) \
  NS_IMETHOD GetFeed(const nsAString & url, nsIRDFDataSource **_retval) { return _to GetFeed(url, _retval); } \
  NS_IMETHOD GetFeedData(const nsAString & url, PRUint32 *count, flockIFeedPost ***posts) { return _to GetFeedData(url, count, posts); } \
  NS_IMETHOD LoadFeedView(const nsAString & url, flockIFeedChannel *channel) { return _to LoadFeedView(url, channel); } \
  NS_IMETHOD RefreshFeed(const nsAString & url) { return _to RefreshFeed(url); } \
  NS_IMETHOD RefreshAllFeeds(flockIFeedRefreshListener *listener) { return _to RefreshAllFeeds(listener); } \
  NS_IMETHOD PrioritizeFeeds(PRUint32 len, const char **urls, flockIFeedPrioritizeListener *listener) { return _to PrioritizeFeeds(len, urls, listener); } \
  NS_IMETHOD PrioritizeFeedsQuick(PRUint32 len, const flockIFeedInfo **feeds, PRUint32 *count, flockIFeedInfo ***info) { return _to PrioritizeFeedsQuick(len, feeds, count, info); } \
  NS_IMETHOD JoinFeedsURLs(PRUint32 len, const char **urls, char **_retval) { return _to JoinFeedsURLs(len, urls, _retval); } \
  NS_IMETHOD IsFeed(nsIDOMDocument *dom, PRBool *_retval) { return _to IsFeed(dom, _retval); } \
  NS_IMETHOD GetFeedType(nsIDOMDocument *dom, char **_retval) { return _to GetFeedType(dom, _retval); } \
  NS_IMETHOD SubscribeFeed(const nsAString & url, const nsACString & target, PRInt32 orientation, PRBool defer) { return _to SubscribeFeed(url, target, orientation, defer); } \
  NS_IMETHOD UnsubscribeFeed(const nsAString & url) { return _to UnsubscribeFeed(url); } \
  NS_IMETHOD IsSubscription(const nsAString & url, PRBool *_retval) { return _to IsSubscription(url, _retval); } \
  NS_IMETHOD GrabNewSubscriptions(PRUint32 len, const char **urls, flockIFeedRefreshListener *listener) { return _to GrabNewSubscriptions(len, urls, listener); } \
  NS_IMETHOD MarkRead(const nsAString & url, const nsAString & id) { return _to MarkRead(url, id); } \
  NS_IMETHOD MarkUnread(const nsAString & url, const nsAString & id) { return _to MarkUnread(url, id); } \
  NS_IMETHOD MarkAllRead(const nsACString & urn) { return _to MarkAllRead(urn); } \
  NS_IMETHOD MarkAllUnread(const nsACString & urn) { return _to MarkAllUnread(urn); } \
  NS_IMETHOD FlagPost(const nsAString & url, const nsAString & id) { return _to FlagPost(url, id); } \
  NS_IMETHOD UnflagPost(const nsAString & url, const nsAString & id) { return _to UnflagPost(url, id); } \
  NS_IMETHOD GetNewCount(PRInt32 *_retval) { return _to GetNewCount(_retval); } \
  NS_IMETHOD ResetNewCount(void) { return _to ResetNewCount(); } \
  NS_IMETHOD MoveFeed(const nsAString & url, const nsACString & target, PRInt32 orientation) { return _to MoveFeed(url, target, orientation); } \
  NS_IMETHOD AddCollection(const nsACString & collection) { return _to AddCollection(collection); } \
  NS_IMETHOD RemoveCollection(const nsACString & collection) { return _to RemoveCollection(collection); } \
  NS_IMETHOD MoveCollection(const nsACString & collection, const nsACString & target, PRInt32 orientation) { return _to MoveCollection(collection, target, orientation); } \
  NS_IMETHOD RenameItem(const nsACString & item, const nsACString & title) { return _to RenameItem(item, title); } \
  NS_IMETHOD GetSubscriptions(nsIRDFDataSource **_retval) { return _to GetSubscriptions(_retval); } \
  NS_IMETHOD GetCollections(PRUint32 *count, flockIFeedCollection ***collection) { return _to GetCollections(count, collection); } \
  NS_IMETHOD GetTotalUnreadCount(PRInt32 *_retval) { return _to GetTotalUnreadCount(_retval); } \
  NS_IMETHOD AddObserver(flockIFeedServiceListener *listener) { return _to AddObserver(listener); } \
  NS_IMETHOD RemoveObserver(flockIFeedServiceListener *listener) { return _to RemoveObserver(listener); } \
  NS_IMETHOD SetDefaultStyle(const nsACString & urn, const nsAString & style) { return _to SetDefaultStyle(urn, style); } \
  NS_IMETHOD SetDefaultColumns(PRInt32 columns) { return _to SetDefaultColumns(columns); } \
  NS_IMETHOD SetShowUnread(PRBool show) { return _to SetShowUnread(show); } \
  NS_IMETHOD SetShowRead(PRBool show) { return _to SetShowRead(show); } \
  NS_IMETHOD SetShowFlagged(PRBool show) { return _to SetShowFlagged(show); } \
  NS_IMETHOD Test(char **_retval) { return _to Test(_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_FLOCKIFEEDSERVICE(_to) \
  NS_IMETHOD GetFeed(const nsAString & url, nsIRDFDataSource **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeed(url, _retval); } \
  NS_IMETHOD GetFeedData(const nsAString & url, PRUint32 *count, flockIFeedPost ***posts) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeedData(url, count, posts); } \
  NS_IMETHOD LoadFeedView(const nsAString & url, flockIFeedChannel *channel) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadFeedView(url, channel); } \
  NS_IMETHOD RefreshFeed(const nsAString & url) { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshFeed(url); } \
  NS_IMETHOD RefreshAllFeeds(flockIFeedRefreshListener *listener) { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshAllFeeds(listener); } \
  NS_IMETHOD PrioritizeFeeds(PRUint32 len, const char **urls, flockIFeedPrioritizeListener *listener) { return !_to ? NS_ERROR_NULL_POINTER : _to->PrioritizeFeeds(len, urls, listener); } \
  NS_IMETHOD PrioritizeFeedsQuick(PRUint32 len, const flockIFeedInfo **feeds, PRUint32 *count, flockIFeedInfo ***info) { return !_to ? NS_ERROR_NULL_POINTER : _to->PrioritizeFeedsQuick(len, feeds, count, info); } \
  NS_IMETHOD JoinFeedsURLs(PRUint32 len, const char **urls, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->JoinFeedsURLs(len, urls, _retval); } \
  NS_IMETHOD IsFeed(nsIDOMDocument *dom, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFeed(dom, _retval); } \
  NS_IMETHOD GetFeedType(nsIDOMDocument *dom, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeedType(dom, _retval); } \
  NS_IMETHOD SubscribeFeed(const nsAString & url, const nsACString & target, PRInt32 orientation, PRBool defer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SubscribeFeed(url, target, orientation, defer); } \
  NS_IMETHOD UnsubscribeFeed(const nsAString & url) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnsubscribeFeed(url); } \
  NS_IMETHOD IsSubscription(const nsAString & url, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsSubscription(url, _retval); } \
  NS_IMETHOD GrabNewSubscriptions(PRUint32 len, const char **urls, flockIFeedRefreshListener *listener) { return !_to ? NS_ERROR_NULL_POINTER : _to->GrabNewSubscriptions(len, urls, listener); } \
  NS_IMETHOD MarkRead(const nsAString & url, const nsAString & id) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkRead(url, id); } \
  NS_IMETHOD MarkUnread(const nsAString & url, const nsAString & id) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkUnread(url, id); } \
  NS_IMETHOD MarkAllRead(const nsACString & urn) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkAllRead(urn); } \
  NS_IMETHOD MarkAllUnread(const nsACString & urn) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkAllUnread(urn); } \
  NS_IMETHOD FlagPost(const nsAString & url, const nsAString & id) { return !_to ? NS_ERROR_NULL_POINTER : _to->FlagPost(url, id); } \
  NS_IMETHOD UnflagPost(const nsAString & url, const nsAString & id) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnflagPost(url, id); } \
  NS_IMETHOD GetNewCount(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewCount(_retval); } \
  NS_IMETHOD ResetNewCount(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetNewCount(); } \
  NS_IMETHOD MoveFeed(const nsAString & url, const nsACString & target, PRInt32 orientation) { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveFeed(url, target, orientation); } \
  NS_IMETHOD AddCollection(const nsACString & collection) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddCollection(collection); } \
  NS_IMETHOD RemoveCollection(const nsACString & collection) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveCollection(collection); } \
  NS_IMETHOD MoveCollection(const nsACString & collection, const nsACString & target, PRInt32 orientation) { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveCollection(collection, target, orientation); } \
  NS_IMETHOD RenameItem(const nsACString & item, const nsACString & title) { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameItem(item, title); } \
  NS_IMETHOD GetSubscriptions(nsIRDFDataSource **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubscriptions(_retval); } \
  NS_IMETHOD GetCollections(PRUint32 *count, flockIFeedCollection ***collection) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCollections(count, collection); } \
  NS_IMETHOD GetTotalUnreadCount(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTotalUnreadCount(_retval); } \
  NS_IMETHOD AddObserver(flockIFeedServiceListener *listener) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddObserver(listener); } \
  NS_IMETHOD RemoveObserver(flockIFeedServiceListener *listener) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveObserver(listener); } \
  NS_IMETHOD SetDefaultStyle(const nsACString & urn, const nsAString & style) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultStyle(urn, style); } \
  NS_IMETHOD SetDefaultColumns(PRInt32 columns) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultColumns(columns); } \
  NS_IMETHOD SetShowUnread(PRBool show) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowUnread(show); } \
  NS_IMETHOD SetShowRead(PRBool show) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowRead(show); } \
  NS_IMETHOD SetShowFlagged(PRBool show) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowFlagged(show); } \
  NS_IMETHOD Test(char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Test(_retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* nsIRDFDataSource getFeed (in AString url); */
NS_IMETHODIMP _MYCLASS_::GetFeed(const nsAString & url, nsIRDFDataSource **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getFeedData (in AString url, inout PRUint32 count, [array, size_is (count), retval] out flockIFeedPost posts); */
NS_IMETHODIMP _MYCLASS_::GetFeedData(const nsAString & url, PRUint32 *count, flockIFeedPost ***posts)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void loadFeedView (in AString url, in flockIFeedChannel channel); */
NS_IMETHODIMP _MYCLASS_::LoadFeedView(const nsAString & url, flockIFeedChannel *channel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void refreshFeed (in AString url); */
NS_IMETHODIMP _MYCLASS_::RefreshFeed(const nsAString & url)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void refreshAllFeeds (in flockIFeedRefreshListener listener); */
NS_IMETHODIMP _MYCLASS_::RefreshAllFeeds(flockIFeedRefreshListener *listener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void prioritizeFeeds (in PRUint32 len, [array, size_is (len), const] in string urls, in flockIFeedPrioritizeListener listener); */
NS_IMETHODIMP _MYCLASS_::PrioritizeFeeds(PRUint32 len, const char **urls, flockIFeedPrioritizeListener *listener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void prioritizeFeedsQuick (in PRUint32 len, [array, size_is (len), const] in flockIFeedInfo feeds, out PRUint32 count, [array, size_is (count), retval] out flockIFeedInfo info); */
NS_IMETHODIMP _MYCLASS_::PrioritizeFeedsQuick(PRUint32 len, const flockIFeedInfo **feeds, PRUint32 *count, flockIFeedInfo ***info)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string joinFeedsURLs (in PRUint32 len, [array, size_is (len), const] in string urls); */
NS_IMETHODIMP _MYCLASS_::JoinFeedsURLs(PRUint32 len, const char **urls, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isFeed (in nsIDOMDocument dom); */
NS_IMETHODIMP _MYCLASS_::IsFeed(nsIDOMDocument *dom, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string getFeedType (in nsIDOMDocument dom); */
NS_IMETHODIMP _MYCLASS_::GetFeedType(nsIDOMDocument *dom, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void subscribeFeed (in AString url, in AUTF8String target, in long orientation, in boolean defer); */
NS_IMETHODIMP _MYCLASS_::SubscribeFeed(const nsAString & url, const nsACString & target, PRInt32 orientation, PRBool defer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void unsubscribeFeed (in AString url); */
NS_IMETHODIMP _MYCLASS_::UnsubscribeFeed(const nsAString & url)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isSubscription (in AString url); */
NS_IMETHODIMP _MYCLASS_::IsSubscription(const nsAString & url, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void grabNewSubscriptions (in PRUint32 len, [array, size_is (len), const] in string urls, in flockIFeedRefreshListener listener); */
NS_IMETHODIMP _MYCLASS_::GrabNewSubscriptions(PRUint32 len, const char **urls, flockIFeedRefreshListener *listener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void markRead (in AString url, in AString id); */
NS_IMETHODIMP _MYCLASS_::MarkRead(const nsAString & url, const nsAString & id)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void markUnread (in AString url, in AString id); */
NS_IMETHODIMP _MYCLASS_::MarkUnread(const nsAString & url, const nsAString & id)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void markAllRead (in AUTF8String urn); */
NS_IMETHODIMP _MYCLASS_::MarkAllRead(const nsACString & urn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void markAllUnread (in AUTF8String urn); */
NS_IMETHODIMP _MYCLASS_::MarkAllUnread(const nsACString & urn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void flagPost (in AString url, in AString id); */
NS_IMETHODIMP _MYCLASS_::FlagPost(const nsAString & url, const nsAString & id)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void unflagPost (in AString url, in AString id); */
NS_IMETHODIMP _MYCLASS_::UnflagPost(const nsAString & url, const nsAString & id)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getNewCount (); */
NS_IMETHODIMP _MYCLASS_::GetNewCount(PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void resetNewCount (); */
NS_IMETHODIMP _MYCLASS_::ResetNewCount()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void moveFeed (in AString url, in AUTF8String target, in long orientation); */
NS_IMETHODIMP _MYCLASS_::MoveFeed(const nsAString & url, const nsACString & target, PRInt32 orientation)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addCollection (in AUTF8String collection); */
NS_IMETHODIMP _MYCLASS_::AddCollection(const nsACString & collection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeCollection (in AUTF8String collection); */
NS_IMETHODIMP _MYCLASS_::RemoveCollection(const nsACString & collection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void moveCollection (in AUTF8String collection, in AUTF8String target, in long orientation); */
NS_IMETHODIMP _MYCLASS_::MoveCollection(const nsACString & collection, const nsACString & target, PRInt32 orientation)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void renameItem (in AUTF8String item, in AUTF8String title); */
NS_IMETHODIMP _MYCLASS_::RenameItem(const nsACString & item, const nsACString & title)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIRDFDataSource getSubscriptions (); */
NS_IMETHODIMP _MYCLASS_::GetSubscriptions(nsIRDFDataSource **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getCollections (out PRUint32 count, [array, size_is (count), retval] out flockIFeedCollection collection); */
NS_IMETHODIMP _MYCLASS_::GetCollections(PRUint32 *count, flockIFeedCollection ***collection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getTotalUnreadCount (); */
NS_IMETHODIMP _MYCLASS_::GetTotalUnreadCount(PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addObserver (in flockIFeedServiceListener listener); */
NS_IMETHODIMP _MYCLASS_::AddObserver(flockIFeedServiceListener *listener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeObserver (in flockIFeedServiceListener listener); */
NS_IMETHODIMP _MYCLASS_::RemoveObserver(flockIFeedServiceListener *listener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setDefaultStyle (in AUTF8String urn, in AString style); */
NS_IMETHODIMP _MYCLASS_::SetDefaultStyle(const nsACString & urn, const nsAString & style)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setDefaultColumns (in long columns); */
NS_IMETHODIMP _MYCLASS_::SetDefaultColumns(PRInt32 columns)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setShowUnread (in boolean show); */
NS_IMETHODIMP _MYCLASS_::SetShowUnread(PRBool show)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setShowRead (in boolean show); */
NS_IMETHODIMP _MYCLASS_::SetShowRead(PRBool show)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setShowFlagged (in boolean show); */
NS_IMETHODIMP _MYCLASS_::SetShowFlagged(PRBool show)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string test (); */
NS_IMETHODIMP _MYCLASS_::Test(char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIFeedService_h__ */
