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

#ifndef __gen_flockIFavoritesService_h__
#define __gen_flockIFavoritesService_h__


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

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

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

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

#ifndef __gen_flockIFavoritesWebService_h__
#include "flockIFavoritesWebService.h"
#endif

#ifndef __gen_flockIFavoriteProperties_h__
#include "flockIFavoriteProperties.h"
#endif

#ifndef __gen_nsISimpleEnumerator_h__
#include "nsISimpleEnumerator.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:    flockIFavoritesServiceProgressListener */
#define FLOCKIFAVORITESSERVICEPROGRESSLISTENER_IID_STR "77f4e736-9402-42d9-a051-212e71751c1b"

#define FLOCKIFAVORITESSERVICEPROGRESSLISTENER_IID \
  {0x77f4e736, 0x9402, 0x42d9, \
    { 0xa0, 0x51, 0x21, 0x2e, 0x71, 0x75, 0x1c, 0x1b }}

class NS_NO_VTABLE flockIFavoritesServiceProgressListener : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFAVORITESSERVICEPROGRESSLISTENER_IID)

  /* void onSyncUp (in boolean aSuccess, in AString aMessage); */
  NS_IMETHOD OnSyncUp(PRBool aSuccess, const nsAString & aMessage) = 0;

  /* void onSyncDown (in boolean aSuccess, in AString aMessage); */
  NS_IMETHOD OnSyncDown(PRBool aSuccess, const nsAString & aMessage) = 0;

  /* void onCreate (in AString aURL, in boolean aSuccess, in AString aMessage); */
  NS_IMETHOD OnCreate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) = 0;

  /* void onUpdate (in AString aURL, in boolean aSuccess, in AString aMessage); */
  NS_IMETHOD OnUpdate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) = 0;

  /* void onRemove (in AString aURL, in boolean aSuccess, in AString aMessage); */
  NS_IMETHOD OnRemove(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) = 0;

  /* void onSyncUpStart (); */
  NS_IMETHOD OnSyncUpStart(void) = 0;

  /* void onSyncDownStart (); */
  NS_IMETHOD OnSyncDownStart(void) = 0;

  /* void onCreateStart (in AString aURL); */
  NS_IMETHOD OnCreateStart(const nsAString & aURL) = 0;

  /* void onUpdateStart (in AString aURL); */
  NS_IMETHOD OnUpdateStart(const nsAString & aURL) = 0;

  /* void onRemoveStart (in AString aURL); */
  NS_IMETHOD OnRemoveStart(const nsAString & aURL) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFAVORITESSERVICEPROGRESSLISTENER \
  NS_IMETHOD OnSyncUp(PRBool aSuccess, const nsAString & aMessage); \
  NS_IMETHOD OnSyncDown(PRBool aSuccess, const nsAString & aMessage); \
  NS_IMETHOD OnCreate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage); \
  NS_IMETHOD OnUpdate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage); \
  NS_IMETHOD OnRemove(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage); \
  NS_IMETHOD OnSyncUpStart(void); \
  NS_IMETHOD OnSyncDownStart(void); \
  NS_IMETHOD OnCreateStart(const nsAString & aURL); \
  NS_IMETHOD OnUpdateStart(const nsAString & aURL); \
  NS_IMETHOD OnRemoveStart(const nsAString & aURL); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFAVORITESSERVICEPROGRESSLISTENER(_to) \
  NS_IMETHOD OnSyncUp(PRBool aSuccess, const nsAString & aMessage) { return _to OnSyncUp(aSuccess, aMessage); } \
  NS_IMETHOD OnSyncDown(PRBool aSuccess, const nsAString & aMessage) { return _to OnSyncDown(aSuccess, aMessage); } \
  NS_IMETHOD OnCreate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) { return _to OnCreate(aURL, aSuccess, aMessage); } \
  NS_IMETHOD OnUpdate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) { return _to OnUpdate(aURL, aSuccess, aMessage); } \
  NS_IMETHOD OnRemove(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) { return _to OnRemove(aURL, aSuccess, aMessage); } \
  NS_IMETHOD OnSyncUpStart(void) { return _to OnSyncUpStart(); } \
  NS_IMETHOD OnSyncDownStart(void) { return _to OnSyncDownStart(); } \
  NS_IMETHOD OnCreateStart(const nsAString & aURL) { return _to OnCreateStart(aURL); } \
  NS_IMETHOD OnUpdateStart(const nsAString & aURL) { return _to OnUpdateStart(aURL); } \
  NS_IMETHOD OnRemoveStart(const nsAString & aURL) { return _to OnRemoveStart(aURL); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFAVORITESSERVICEPROGRESSLISTENER(_to) \
  NS_IMETHOD OnSyncUp(PRBool aSuccess, const nsAString & aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSyncUp(aSuccess, aMessage); } \
  NS_IMETHOD OnSyncDown(PRBool aSuccess, const nsAString & aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSyncDown(aSuccess, aMessage); } \
  NS_IMETHOD OnCreate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnCreate(aURL, aSuccess, aMessage); } \
  NS_IMETHOD OnUpdate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUpdate(aURL, aSuccess, aMessage); } \
  NS_IMETHOD OnRemove(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnRemove(aURL, aSuccess, aMessage); } \
  NS_IMETHOD OnSyncUpStart(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSyncUpStart(); } \
  NS_IMETHOD OnSyncDownStart(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnSyncDownStart(); } \
  NS_IMETHOD OnCreateStart(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnCreateStart(aURL); } \
  NS_IMETHOD OnUpdateStart(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUpdateStart(aURL); } \
  NS_IMETHOD OnRemoveStart(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnRemoveStart(aURL); } 

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

/* Header file */
class _MYCLASS_ : public flockIFavoritesServiceProgressListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFAVORITESSERVICEPROGRESSLISTENER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void onSyncUp (in boolean aSuccess, in AString aMessage); */
NS_IMETHODIMP _MYCLASS_::OnSyncUp(PRBool aSuccess, const nsAString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSyncDown (in boolean aSuccess, in AString aMessage); */
NS_IMETHODIMP _MYCLASS_::OnSyncDown(PRBool aSuccess, const nsAString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onCreate (in AString aURL, in boolean aSuccess, in AString aMessage); */
NS_IMETHODIMP _MYCLASS_::OnCreate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onUpdate (in AString aURL, in boolean aSuccess, in AString aMessage); */
NS_IMETHODIMP _MYCLASS_::OnUpdate(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onRemove (in AString aURL, in boolean aSuccess, in AString aMessage); */
NS_IMETHODIMP _MYCLASS_::OnRemove(const nsAString & aURL, PRBool aSuccess, const nsAString & aMessage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSyncUpStart (); */
NS_IMETHODIMP _MYCLASS_::OnSyncUpStart()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onSyncDownStart (); */
NS_IMETHODIMP _MYCLASS_::OnSyncDownStart()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onCreateStart (in AString aURL); */
NS_IMETHODIMP _MYCLASS_::OnCreateStart(const nsAString & aURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onUpdateStart (in AString aURL); */
NS_IMETHODIMP _MYCLASS_::OnUpdateStart(const nsAString & aURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onRemoveStart (in AString aURL); */
NS_IMETHODIMP _MYCLASS_::OnRemoveStart(const nsAString & aURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIFavoritesService */
#define FLOCKIFAVORITESSERVICE_IID_STR "2ef98743-1714-4de1-88f2-7771c63dcde8"

#define FLOCKIFAVORITESSERVICE_IID \
  {0x2ef98743, 0x1714, 0x4de1, \
    { 0x88, 0xf2, 0x77, 0x71, 0xc6, 0x3d, 0xcd, 0xe8 }}

/**
 * flockIFavoritesService is the interface that the flock favorites service exposes to
 * allow the rest of the browser and extensions to interact with favorites data.
 */
class NS_NO_VTABLE flockIFavoritesService : public nsIRDFDataSource {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFAVORITESSERVICE_IID)

  /** create a favorite with the supplied url @aURL and properties @aProperties */
  /* void createFavorite (in AString aURL, in flockIFavoriteProperties aProperties); */
  NS_IMETHOD CreateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties) = 0;

  /** remove the favorite @aURL from the favorites system */
  /* void removeFavorite (in AString aURL); */
  NS_IMETHOD RemoveFavorite(const nsAString & aURL) = 0;

  /** update the properties on @aURL with the values in @aProperties */
  /* void updateFavorite (in AString aURL, in flockIFavoriteProperties aProperties); */
  NS_IMETHOD UpdateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties) = 0;

  /** returns true if the supplied URL @aURL is stored as a favorite in the favorites
     *  service or false if it is not
     */
  /* boolean isFavorite (in AString aURL); */
  NS_IMETHOD IsFavorite(const nsAString & aURL, PRBool *_retval) = 0;

  /** returns the properties of the favorite @aURL */
  /* flockIFavoriteProperties getFavoriteProperties (in AString aURL); */
  NS_IMETHOD GetFavoriteProperties(const nsAString & aURL, flockIFavoriteProperties **_retval) = 0;

  /* nsISimpleEnumerator getAllFavorites (); */
  NS_IMETHOD GetAllFavorites(nsISimpleEnumerator **_retval) = 0;

  /** return true if the supplied resource @aCollection refers to a favorites
     *  collection and false if it does not.
     */
  /* boolean isCollectionResource (in nsIRDFResource aCollection); */
  NS_IMETHOD IsCollectionResource(nsIRDFResource *aCollection, PRBool *_retval) = 0;

  /** returns true if a collection exists with the name @aCollectionName or false
     *  if no collection exists with that name.
     */
  /* boolean isCollection (in AString aCollectionName); */
  NS_IMETHOD IsCollection(const nsAString & aCollectionName, PRBool *_retval) = 0;

  /** creates a collection named @aCollectionName. If there is already a collection of
     *  that name it returns false, otherwise it returns true.
     */
  /* boolean createCollection (in AString aCollectionName); */
  NS_IMETHOD CreateCollection(const nsAString & aCollectionName, PRBool *_retval) = 0;

  /** removes the collectoin named @aCollectionName. If that succeeded true is returned,
     *  if it fails then false is returned.
     */
  /* boolean removeCollection (in AString aCollectionName); */
  NS_IMETHOD RemoveCollection(const nsAString & aCollectionName, PRBool *_retval) = 0;

  /** renames a collection from @aCollectionName to @aNewName. The return value
     *  indicates success.
     */
  /* boolean renameCollection (in AString aCollectionName, in AString aNewName); */
  NS_IMETHOD RenameCollection(const nsAString & aCollectionName, const nsAString & aNewName, PRBool *_retval) = 0;

  /** returns the name of the collection pointed to by @aCollection or null if no such
     *  collection exists.
     */
  /* AString getCollectionName (in nsIRDFResource aCollection); */
  NS_IMETHOD GetCollectionName(nsIRDFResource *aCollection, nsAString & _retval) = 0;

  /** returns the resource for the collection named @aCollectionName or null if no such
     *  collection exists. 
     */
  /* nsIRDFResource getCollectionResource (in AString aCollectionName); */
  NS_IMETHOD GetCollectionResource(const nsAString & aCollectionName, nsIRDFResource **_retval) = 0;

  /* void addFavoriteToCollection (in AString aFavoriteURL, in AString aCollectionName); */
  NS_IMETHOD AddFavoriteToCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName) = 0;

  /* void removeFavoriteFromCollection (in AString aFavoriteURL, in AString aCollectionName); */
  NS_IMETHOD RemoveFavoriteFromCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName) = 0;

  /** reorders the collection @aCollectionName so the favorite @aFavoriteURL is at 
     *  position @aIndex.
     */
  /* void orderFavoriteInCollection (in AString aFavoriteURL, in AString aCollectionName, in PRUint32 aIndex); */
  NS_IMETHOD OrderFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 aIndex) = 0;

  /** returns the index of @aFavoriteURL in the collection aCollectionName */
  /* PRUint32 getFavoriteOrderInCollection (in AString aFavoriteURL, in AString aCollectionName); */
  NS_IMETHOD GetFavoriteOrderInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 *_retval) = 0;

  /** returns true if the favorite @aFavoriteURL is in the collection @aCollection, or
     *  false if it is not.
     */
  /* boolean isFavoriteInCollection (in AString aFavoriteURL, in AString aCollection); */
  NS_IMETHOD IsFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollection, PRBool *_retval) = 0;

  /** returns all the favorites in @aCollection as an enumerator of nsIRDFResource */
  /* nsISimpleEnumerator getCollectionFavorites (in AString aCollection); */
  NS_IMETHOD GetCollectionFavorites(const nsAString & aCollection, nsISimpleEnumerator **_retval) = 0;

  /* void setToolbarCollection (in nsIRDFResource aCollection); */
  NS_IMETHOD SetToolbarCollection(nsIRDFResource *aCollection) = 0;

  /* nsIRDFResource getToolbarCollection (); */
  NS_IMETHOD GetToolbarCollection(nsIRDFResource **_retval) = 0;

  /** returns an enumerator that contains resources referring to all the collections
     *  that the favorite @aFavoriteURL is in.
     */
  /* nsISimpleEnumerator getFavoriteCollections (in AString aFavoriteURL); */
  NS_IMETHOD GetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator **_retval) = 0;

  /** sets the collections that a favorite exists in
      */
  /* void setFavoriteCollections (in AString aFavoriteURL, in nsISimpleEnumerator aCollections); */
  NS_IMETHOD SetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator *aCollections) = 0;

  /** returns all collections as nsIRDFResources */
  /* nsISimpleEnumerator getAllCollections (); */
  NS_IMETHOD GetAllCollections(nsISimpleEnumerator **_retval) = 0;

  /** returns true if @aFeedURL refers to a feed or false if it does not. */
  /* boolean isFeed (in AString aFeedURL); */
  NS_IMETHOD IsFeed(const nsAString & aFeedURL, PRBool *_retval) = 0;

  /** returns true if @aFeed refers to a feed or false if it does not. */
  /* boolean isFeedResource (in nsIRDFResource aFeed); */
  NS_IMETHOD IsFeedResource(nsIRDFResource *aFeed, PRBool *_retval) = 0;

  /** creates a feed resource with the url @aFeedURL and the properties @aFeedProperties
     *  thats associated with the favorite @aFavoriteURL.
     */
  /* void createFeedInFavorite (in AString aFeedURL, in flockIFavoriteProperties aFavoriteProperties, in AString aFavoriteURL); */
  NS_IMETHOD CreateFeedInFavorite(const nsAString & aFeedURL, flockIFavoriteProperties *aFavoriteProperties, const nsAString & aFavoriteURL) = 0;

  /** removes the feed @aFeedURL from the favorite @aFavoriteURL. */
  /* void removeFeedFromFavorite (in AString aFeedURL, in AString aFavoriteURL); */
  NS_IMETHOD RemoveFeedFromFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL) = 0;

  /** returns true if the feed @aFeedURL is associated with the favorite @aFavoriteURL
     *  or false if it is not.
     */
  /* boolean isFeedInFavorite (in AString aFeedURL, in AString aFavoriteURL); */
  NS_IMETHOD IsFeedInFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL, PRBool *_retval) = 0;

  /** gets the list of feeds associated with the favorite @aFavoriteURL. */
  /* void getFeedsInFavorite (in AString aFavoriteURL, out PRUint32 count, [array, size_is (count), retval] out wstring array); */
  NS_IMETHOD GetFeedsInFavorite(const nsAString & aFavoriteURL, PRUint32 *count, PRUnichar ***array) = 0;

  /** returns all the feeds in the system */
  /* nsISimpleEnumerator getAllFeeds (); */
  NS_IMETHOD GetAllFeeds(nsISimpleEnumerator **_retval) = 0;

  /** get the properties of a feed */
  /* flockIFavoriteProperties getFeedProperties (in AString aFeedURL); */
  NS_IMETHOD GetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties **_retval) = 0;

  /** updates the properties of a feed */
  /* void setFeedProperties (in AString aFeedURL, in flockIFavoriteProperties aFeedProperties); */
  NS_IMETHOD SetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties *aFeedProperties) = 0;

  /* readonly attribute flockIFavoritesWebService webService; */
  NS_IMETHOD GetWebService(flockIFavoritesWebService * *aWebService) = 0;

  /* nsISimpleEnumerator getWebServices (); */
  NS_IMETHOD GetWebServices(nsISimpleEnumerator **_retval) = 0;

  /* void authenticationFailed (); */
  NS_IMETHOD AuthenticationFailed(void) = 0;

  /** request a resynchronization with the currently activice favorites web service */
  /* void synchronize (); */
  NS_IMETHOD Synchronize(void) = 0;

  /* void addProgressListener (in flockIFavoritesServiceProgressListener aListener); */
  NS_IMETHOD AddProgressListener(flockIFavoritesServiceProgressListener *aListener) = 0;

  /* void removeProgressListener (in flockIFavoritesServiceProgressListener aListener); */
  NS_IMETHOD RemoveProgressListener(flockIFavoritesServiceProgressListener *aListener) = 0;

  /* void Flush (); */
  NS_IMETHOD Flush(void) = 0;

  /* void disableHasFeeds (); */
  NS_IMETHOD DisableHasFeeds(void) = 0;

  /* void enableHasFeeds (); */
  NS_IMETHOD EnableHasFeeds(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFAVORITESSERVICE \
  NS_IMETHOD CreateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties); \
  NS_IMETHOD RemoveFavorite(const nsAString & aURL); \
  NS_IMETHOD UpdateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties); \
  NS_IMETHOD IsFavorite(const nsAString & aURL, PRBool *_retval); \
  NS_IMETHOD GetFavoriteProperties(const nsAString & aURL, flockIFavoriteProperties **_retval); \
  NS_IMETHOD GetAllFavorites(nsISimpleEnumerator **_retval); \
  NS_IMETHOD IsCollectionResource(nsIRDFResource *aCollection, PRBool *_retval); \
  NS_IMETHOD IsCollection(const nsAString & aCollectionName, PRBool *_retval); \
  NS_IMETHOD CreateCollection(const nsAString & aCollectionName, PRBool *_retval); \
  NS_IMETHOD RemoveCollection(const nsAString & aCollectionName, PRBool *_retval); \
  NS_IMETHOD RenameCollection(const nsAString & aCollectionName, const nsAString & aNewName, PRBool *_retval); \
  NS_IMETHOD GetCollectionName(nsIRDFResource *aCollection, nsAString & _retval); \
  NS_IMETHOD GetCollectionResource(const nsAString & aCollectionName, nsIRDFResource **_retval); \
  NS_IMETHOD AddFavoriteToCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName); \
  NS_IMETHOD RemoveFavoriteFromCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName); \
  NS_IMETHOD OrderFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 aIndex); \
  NS_IMETHOD GetFavoriteOrderInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 *_retval); \
  NS_IMETHOD IsFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollection, PRBool *_retval); \
  NS_IMETHOD GetCollectionFavorites(const nsAString & aCollection, nsISimpleEnumerator **_retval); \
  NS_IMETHOD SetToolbarCollection(nsIRDFResource *aCollection); \
  NS_IMETHOD GetToolbarCollection(nsIRDFResource **_retval); \
  NS_IMETHOD GetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator **_retval); \
  NS_IMETHOD SetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator *aCollections); \
  NS_IMETHOD GetAllCollections(nsISimpleEnumerator **_retval); \
  NS_IMETHOD IsFeed(const nsAString & aFeedURL, PRBool *_retval); \
  NS_IMETHOD IsFeedResource(nsIRDFResource *aFeed, PRBool *_retval); \
  NS_IMETHOD CreateFeedInFavorite(const nsAString & aFeedURL, flockIFavoriteProperties *aFavoriteProperties, const nsAString & aFavoriteURL); \
  NS_IMETHOD RemoveFeedFromFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL); \
  NS_IMETHOD IsFeedInFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL, PRBool *_retval); \
  NS_IMETHOD GetFeedsInFavorite(const nsAString & aFavoriteURL, PRUint32 *count, PRUnichar ***array); \
  NS_IMETHOD GetAllFeeds(nsISimpleEnumerator **_retval); \
  NS_IMETHOD GetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties **_retval); \
  NS_IMETHOD SetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties *aFeedProperties); \
  NS_IMETHOD GetWebService(flockIFavoritesWebService * *aWebService); \
  NS_IMETHOD GetWebServices(nsISimpleEnumerator **_retval); \
  NS_IMETHOD AuthenticationFailed(void); \
  NS_IMETHOD Synchronize(void); \
  NS_IMETHOD AddProgressListener(flockIFavoritesServiceProgressListener *aListener); \
  NS_IMETHOD RemoveProgressListener(flockIFavoritesServiceProgressListener *aListener); \
  NS_IMETHOD Flush(void); \
  NS_IMETHOD DisableHasFeeds(void); \
  NS_IMETHOD EnableHasFeeds(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFAVORITESSERVICE(_to) \
  NS_IMETHOD CreateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties) { return _to CreateFavorite(aURL, aProperties); } \
  NS_IMETHOD RemoveFavorite(const nsAString & aURL) { return _to RemoveFavorite(aURL); } \
  NS_IMETHOD UpdateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties) { return _to UpdateFavorite(aURL, aProperties); } \
  NS_IMETHOD IsFavorite(const nsAString & aURL, PRBool *_retval) { return _to IsFavorite(aURL, _retval); } \
  NS_IMETHOD GetFavoriteProperties(const nsAString & aURL, flockIFavoriteProperties **_retval) { return _to GetFavoriteProperties(aURL, _retval); } \
  NS_IMETHOD GetAllFavorites(nsISimpleEnumerator **_retval) { return _to GetAllFavorites(_retval); } \
  NS_IMETHOD IsCollectionResource(nsIRDFResource *aCollection, PRBool *_retval) { return _to IsCollectionResource(aCollection, _retval); } \
  NS_IMETHOD IsCollection(const nsAString & aCollectionName, PRBool *_retval) { return _to IsCollection(aCollectionName, _retval); } \
  NS_IMETHOD CreateCollection(const nsAString & aCollectionName, PRBool *_retval) { return _to CreateCollection(aCollectionName, _retval); } \
  NS_IMETHOD RemoveCollection(const nsAString & aCollectionName, PRBool *_retval) { return _to RemoveCollection(aCollectionName, _retval); } \
  NS_IMETHOD RenameCollection(const nsAString & aCollectionName, const nsAString & aNewName, PRBool *_retval) { return _to RenameCollection(aCollectionName, aNewName, _retval); } \
  NS_IMETHOD GetCollectionName(nsIRDFResource *aCollection, nsAString & _retval) { return _to GetCollectionName(aCollection, _retval); } \
  NS_IMETHOD GetCollectionResource(const nsAString & aCollectionName, nsIRDFResource **_retval) { return _to GetCollectionResource(aCollectionName, _retval); } \
  NS_IMETHOD AddFavoriteToCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName) { return _to AddFavoriteToCollection(aFavoriteURL, aCollectionName); } \
  NS_IMETHOD RemoveFavoriteFromCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName) { return _to RemoveFavoriteFromCollection(aFavoriteURL, aCollectionName); } \
  NS_IMETHOD OrderFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 aIndex) { return _to OrderFavoriteInCollection(aFavoriteURL, aCollectionName, aIndex); } \
  NS_IMETHOD GetFavoriteOrderInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 *_retval) { return _to GetFavoriteOrderInCollection(aFavoriteURL, aCollectionName, _retval); } \
  NS_IMETHOD IsFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollection, PRBool *_retval) { return _to IsFavoriteInCollection(aFavoriteURL, aCollection, _retval); } \
  NS_IMETHOD GetCollectionFavorites(const nsAString & aCollection, nsISimpleEnumerator **_retval) { return _to GetCollectionFavorites(aCollection, _retval); } \
  NS_IMETHOD SetToolbarCollection(nsIRDFResource *aCollection) { return _to SetToolbarCollection(aCollection); } \
  NS_IMETHOD GetToolbarCollection(nsIRDFResource **_retval) { return _to GetToolbarCollection(_retval); } \
  NS_IMETHOD GetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator **_retval) { return _to GetFavoriteCollections(aFavoriteURL, _retval); } \
  NS_IMETHOD SetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator *aCollections) { return _to SetFavoriteCollections(aFavoriteURL, aCollections); } \
  NS_IMETHOD GetAllCollections(nsISimpleEnumerator **_retval) { return _to GetAllCollections(_retval); } \
  NS_IMETHOD IsFeed(const nsAString & aFeedURL, PRBool *_retval) { return _to IsFeed(aFeedURL, _retval); } \
  NS_IMETHOD IsFeedResource(nsIRDFResource *aFeed, PRBool *_retval) { return _to IsFeedResource(aFeed, _retval); } \
  NS_IMETHOD CreateFeedInFavorite(const nsAString & aFeedURL, flockIFavoriteProperties *aFavoriteProperties, const nsAString & aFavoriteURL) { return _to CreateFeedInFavorite(aFeedURL, aFavoriteProperties, aFavoriteURL); } \
  NS_IMETHOD RemoveFeedFromFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL) { return _to RemoveFeedFromFavorite(aFeedURL, aFavoriteURL); } \
  NS_IMETHOD IsFeedInFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL, PRBool *_retval) { return _to IsFeedInFavorite(aFeedURL, aFavoriteURL, _retval); } \
  NS_IMETHOD GetFeedsInFavorite(const nsAString & aFavoriteURL, PRUint32 *count, PRUnichar ***array) { return _to GetFeedsInFavorite(aFavoriteURL, count, array); } \
  NS_IMETHOD GetAllFeeds(nsISimpleEnumerator **_retval) { return _to GetAllFeeds(_retval); } \
  NS_IMETHOD GetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties **_retval) { return _to GetFeedProperties(aFeedURL, _retval); } \
  NS_IMETHOD SetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties *aFeedProperties) { return _to SetFeedProperties(aFeedURL, aFeedProperties); } \
  NS_IMETHOD GetWebService(flockIFavoritesWebService * *aWebService) { return _to GetWebService(aWebService); } \
  NS_IMETHOD GetWebServices(nsISimpleEnumerator **_retval) { return _to GetWebServices(_retval); } \
  NS_IMETHOD AuthenticationFailed(void) { return _to AuthenticationFailed(); } \
  NS_IMETHOD Synchronize(void) { return _to Synchronize(); } \
  NS_IMETHOD AddProgressListener(flockIFavoritesServiceProgressListener *aListener) { return _to AddProgressListener(aListener); } \
  NS_IMETHOD RemoveProgressListener(flockIFavoritesServiceProgressListener *aListener) { return _to RemoveProgressListener(aListener); } \
  NS_IMETHOD Flush(void) { return _to Flush(); } \
  NS_IMETHOD DisableHasFeeds(void) { return _to DisableHasFeeds(); } \
  NS_IMETHOD EnableHasFeeds(void) { return _to EnableHasFeeds(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFAVORITESSERVICE(_to) \
  NS_IMETHOD CreateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateFavorite(aURL, aProperties); } \
  NS_IMETHOD RemoveFavorite(const nsAString & aURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFavorite(aURL); } \
  NS_IMETHOD UpdateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties) { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateFavorite(aURL, aProperties); } \
  NS_IMETHOD IsFavorite(const nsAString & aURL, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFavorite(aURL, _retval); } \
  NS_IMETHOD GetFavoriteProperties(const nsAString & aURL, flockIFavoriteProperties **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFavoriteProperties(aURL, _retval); } \
  NS_IMETHOD GetAllFavorites(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllFavorites(_retval); } \
  NS_IMETHOD IsCollectionResource(nsIRDFResource *aCollection, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCollectionResource(aCollection, _retval); } \
  NS_IMETHOD IsCollection(const nsAString & aCollectionName, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsCollection(aCollectionName, _retval); } \
  NS_IMETHOD CreateCollection(const nsAString & aCollectionName, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateCollection(aCollectionName, _retval); } \
  NS_IMETHOD RemoveCollection(const nsAString & aCollectionName, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveCollection(aCollectionName, _retval); } \
  NS_IMETHOD RenameCollection(const nsAString & aCollectionName, const nsAString & aNewName, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameCollection(aCollectionName, aNewName, _retval); } \
  NS_IMETHOD GetCollectionName(nsIRDFResource *aCollection, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCollectionName(aCollection, _retval); } \
  NS_IMETHOD GetCollectionResource(const nsAString & aCollectionName, nsIRDFResource **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCollectionResource(aCollectionName, _retval); } \
  NS_IMETHOD AddFavoriteToCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddFavoriteToCollection(aFavoriteURL, aCollectionName); } \
  NS_IMETHOD RemoveFavoriteFromCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFavoriteFromCollection(aFavoriteURL, aCollectionName); } \
  NS_IMETHOD OrderFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 aIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->OrderFavoriteInCollection(aFavoriteURL, aCollectionName, aIndex); } \
  NS_IMETHOD GetFavoriteOrderInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFavoriteOrderInCollection(aFavoriteURL, aCollectionName, _retval); } \
  NS_IMETHOD IsFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollection, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFavoriteInCollection(aFavoriteURL, aCollection, _retval); } \
  NS_IMETHOD GetCollectionFavorites(const nsAString & aCollection, nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCollectionFavorites(aCollection, _retval); } \
  NS_IMETHOD SetToolbarCollection(nsIRDFResource *aCollection) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetToolbarCollection(aCollection); } \
  NS_IMETHOD GetToolbarCollection(nsIRDFResource **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetToolbarCollection(_retval); } \
  NS_IMETHOD GetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFavoriteCollections(aFavoriteURL, _retval); } \
  NS_IMETHOD SetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator *aCollections) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFavoriteCollections(aFavoriteURL, aCollections); } \
  NS_IMETHOD GetAllCollections(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllCollections(_retval); } \
  NS_IMETHOD IsFeed(const nsAString & aFeedURL, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFeed(aFeedURL, _retval); } \
  NS_IMETHOD IsFeedResource(nsIRDFResource *aFeed, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFeedResource(aFeed, _retval); } \
  NS_IMETHOD CreateFeedInFavorite(const nsAString & aFeedURL, flockIFavoriteProperties *aFavoriteProperties, const nsAString & aFavoriteURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateFeedInFavorite(aFeedURL, aFavoriteProperties, aFavoriteURL); } \
  NS_IMETHOD RemoveFeedFromFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFeedFromFavorite(aFeedURL, aFavoriteURL); } \
  NS_IMETHOD IsFeedInFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFeedInFavorite(aFeedURL, aFavoriteURL, _retval); } \
  NS_IMETHOD GetFeedsInFavorite(const nsAString & aFavoriteURL, PRUint32 *count, PRUnichar ***array) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeedsInFavorite(aFavoriteURL, count, array); } \
  NS_IMETHOD GetAllFeeds(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllFeeds(_retval); } \
  NS_IMETHOD GetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeedProperties(aFeedURL, _retval); } \
  NS_IMETHOD SetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties *aFeedProperties) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFeedProperties(aFeedURL, aFeedProperties); } \
  NS_IMETHOD GetWebService(flockIFavoritesWebService * *aWebService) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWebService(aWebService); } \
  NS_IMETHOD GetWebServices(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWebServices(_retval); } \
  NS_IMETHOD AuthenticationFailed(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->AuthenticationFailed(); } \
  NS_IMETHOD Synchronize(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Synchronize(); } \
  NS_IMETHOD AddProgressListener(flockIFavoritesServiceProgressListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddProgressListener(aListener); } \
  NS_IMETHOD RemoveProgressListener(flockIFavoritesServiceProgressListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveProgressListener(aListener); } \
  NS_IMETHOD Flush(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Flush(); } \
  NS_IMETHOD DisableHasFeeds(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DisableHasFeeds(); } \
  NS_IMETHOD EnableHasFeeds(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnableHasFeeds(); } 

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

/* Header file */
class _MYCLASS_ : public flockIFavoritesService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFAVORITESSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void createFavorite (in AString aURL, in flockIFavoriteProperties aProperties); */
NS_IMETHODIMP _MYCLASS_::CreateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeFavorite (in AString aURL); */
NS_IMETHODIMP _MYCLASS_::RemoveFavorite(const nsAString & aURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void updateFavorite (in AString aURL, in flockIFavoriteProperties aProperties); */
NS_IMETHODIMP _MYCLASS_::UpdateFavorite(const nsAString & aURL, flockIFavoriteProperties *aProperties)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isFavorite (in AString aURL); */
NS_IMETHODIMP _MYCLASS_::IsFavorite(const nsAString & aURL, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* flockIFavoriteProperties getFavoriteProperties (in AString aURL); */
NS_IMETHODIMP _MYCLASS_::GetFavoriteProperties(const nsAString & aURL, flockIFavoriteProperties **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getAllFavorites (); */
NS_IMETHODIMP _MYCLASS_::GetAllFavorites(nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isCollectionResource (in nsIRDFResource aCollection); */
NS_IMETHODIMP _MYCLASS_::IsCollectionResource(nsIRDFResource *aCollection, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isCollection (in AString aCollectionName); */
NS_IMETHODIMP _MYCLASS_::IsCollection(const nsAString & aCollectionName, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean createCollection (in AString aCollectionName); */
NS_IMETHODIMP _MYCLASS_::CreateCollection(const nsAString & aCollectionName, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean removeCollection (in AString aCollectionName); */
NS_IMETHODIMP _MYCLASS_::RemoveCollection(const nsAString & aCollectionName, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean renameCollection (in AString aCollectionName, in AString aNewName); */
NS_IMETHODIMP _MYCLASS_::RenameCollection(const nsAString & aCollectionName, const nsAString & aNewName, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getCollectionName (in nsIRDFResource aCollection); */
NS_IMETHODIMP _MYCLASS_::GetCollectionName(nsIRDFResource *aCollection, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIRDFResource getCollectionResource (in AString aCollectionName); */
NS_IMETHODIMP _MYCLASS_::GetCollectionResource(const nsAString & aCollectionName, nsIRDFResource **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addFavoriteToCollection (in AString aFavoriteURL, in AString aCollectionName); */
NS_IMETHODIMP _MYCLASS_::AddFavoriteToCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeFavoriteFromCollection (in AString aFavoriteURL, in AString aCollectionName); */
NS_IMETHODIMP _MYCLASS_::RemoveFavoriteFromCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void orderFavoriteInCollection (in AString aFavoriteURL, in AString aCollectionName, in PRUint32 aIndex); */
NS_IMETHODIMP _MYCLASS_::OrderFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 aIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRUint32 getFavoriteOrderInCollection (in AString aFavoriteURL, in AString aCollectionName); */
NS_IMETHODIMP _MYCLASS_::GetFavoriteOrderInCollection(const nsAString & aFavoriteURL, const nsAString & aCollectionName, PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isFavoriteInCollection (in AString aFavoriteURL, in AString aCollection); */
NS_IMETHODIMP _MYCLASS_::IsFavoriteInCollection(const nsAString & aFavoriteURL, const nsAString & aCollection, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getCollectionFavorites (in AString aCollection); */
NS_IMETHODIMP _MYCLASS_::GetCollectionFavorites(const nsAString & aCollection, nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setToolbarCollection (in nsIRDFResource aCollection); */
NS_IMETHODIMP _MYCLASS_::SetToolbarCollection(nsIRDFResource *aCollection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIRDFResource getToolbarCollection (); */
NS_IMETHODIMP _MYCLASS_::GetToolbarCollection(nsIRDFResource **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getFavoriteCollections (in AString aFavoriteURL); */
NS_IMETHODIMP _MYCLASS_::GetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFavoriteCollections (in AString aFavoriteURL, in nsISimpleEnumerator aCollections); */
NS_IMETHODIMP _MYCLASS_::SetFavoriteCollections(const nsAString & aFavoriteURL, nsISimpleEnumerator *aCollections)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getAllCollections (); */
NS_IMETHODIMP _MYCLASS_::GetAllCollections(nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isFeed (in AString aFeedURL); */
NS_IMETHODIMP _MYCLASS_::IsFeed(const nsAString & aFeedURL, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isFeedResource (in nsIRDFResource aFeed); */
NS_IMETHODIMP _MYCLASS_::IsFeedResource(nsIRDFResource *aFeed, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void createFeedInFavorite (in AString aFeedURL, in flockIFavoriteProperties aFavoriteProperties, in AString aFavoriteURL); */
NS_IMETHODIMP _MYCLASS_::CreateFeedInFavorite(const nsAString & aFeedURL, flockIFavoriteProperties *aFavoriteProperties, const nsAString & aFavoriteURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeFeedFromFavorite (in AString aFeedURL, in AString aFavoriteURL); */
NS_IMETHODIMP _MYCLASS_::RemoveFeedFromFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isFeedInFavorite (in AString aFeedURL, in AString aFavoriteURL); */
NS_IMETHODIMP _MYCLASS_::IsFeedInFavorite(const nsAString & aFeedURL, const nsAString & aFavoriteURL, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getFeedsInFavorite (in AString aFavoriteURL, out PRUint32 count, [array, size_is (count), retval] out wstring array); */
NS_IMETHODIMP _MYCLASS_::GetFeedsInFavorite(const nsAString & aFavoriteURL, PRUint32 *count, PRUnichar ***array)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getAllFeeds (); */
NS_IMETHODIMP _MYCLASS_::GetAllFeeds(nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* flockIFavoriteProperties getFeedProperties (in AString aFeedURL); */
NS_IMETHODIMP _MYCLASS_::GetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFeedProperties (in AString aFeedURL, in flockIFavoriteProperties aFeedProperties); */
NS_IMETHODIMP _MYCLASS_::SetFeedProperties(const nsAString & aFeedURL, flockIFavoriteProperties *aFeedProperties)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute flockIFavoritesWebService webService; */
NS_IMETHODIMP _MYCLASS_::GetWebService(flockIFavoritesWebService * *aWebService)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getWebServices (); */
NS_IMETHODIMP _MYCLASS_::GetWebServices(nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void authenticationFailed (); */
NS_IMETHODIMP _MYCLASS_::AuthenticationFailed()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void synchronize (); */
NS_IMETHODIMP _MYCLASS_::Synchronize()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addProgressListener (in flockIFavoritesServiceProgressListener aListener); */
NS_IMETHODIMP _MYCLASS_::AddProgressListener(flockIFavoritesServiceProgressListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeProgressListener (in flockIFavoritesServiceProgressListener aListener); */
NS_IMETHODIMP _MYCLASS_::RemoveProgressListener(flockIFavoritesServiceProgressListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* void disableHasFeeds (); */
NS_IMETHODIMP _MYCLASS_::DisableHasFeeds()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void enableHasFeeds (); */
NS_IMETHODIMP _MYCLASS_::EnableHasFeeds()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIFavoritesService_h__ */
