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

#ifndef __gen_flockIFeed_h__
#define __gen_flockIFeed_h__


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

#ifndef __gen_flockIFeedFolderItem_h__
#include "flockIFeedFolderItem.h"
#endif

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

class nsIURI; /* forward declaration */

class flockIFeedItem; /* forward declaration */


/* starting interface:    flockIFeed */
#define FLOCKIFEED_IID_STR "b31383e6-8e3b-4d32-b6e1-8b92064ff547"

#define FLOCKIFEED_IID \
  {0xb31383e6, 0x8e3b, 0x4d32, \
    { 0xb6, 0xe1, 0x8b, 0x92, 0x06, 0x4f, 0xf5, 0x47 }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIFeed : public flockIFeedFolderItem {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIFEED_IID)

  /* nsIURI getURL (); */
  NS_SCRIPTABLE NS_IMETHOD GetURL(nsIURI **_retval) = 0;

  /* nsIURI getLink (); */
  NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI **_retval) = 0;

  /* AString getFormat (); */
  NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & _retval) = 0;

  /* long getType (); */
  NS_SCRIPTABLE NS_IMETHOD GetType(PRInt32 *_retval) = 0;

  /* AString getSubtitle (); */
  NS_SCRIPTABLE NS_IMETHOD GetSubtitle(nsAString & _retval) = 0;

  /* nsIURI getImage (); */
  NS_SCRIPTABLE NS_IMETHOD GetImage(nsIURI **_retval) = 0;

  /* nsIURI getFavicon (); */
  NS_SCRIPTABLE NS_IMETHOD GetFavicon(nsIURI **_retval) = 0;

  /* AString getAuthor (); */
  NS_SCRIPTABLE NS_IMETHOD GetAuthor(nsAString & _retval) = 0;

  /* PRTime getPubDate (); */
  NS_SCRIPTABLE NS_IMETHOD GetPubDate(PRTime *_retval) = 0;

  /* nsIURI getFinalURL (); */
  NS_SCRIPTABLE NS_IMETHOD GetFinalURL(nsIURI **_retval) = 0;

  /* AString getRealTitle (); */
  NS_SCRIPTABLE NS_IMETHOD GetRealTitle(nsAString & _retval) = 0;

  /* flockIFeedItem getItem (in PRUint32 aIndex); */
  NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 aIndex, flockIFeedItem **_retval) = 0;

  /* nsISimpleEnumerator getItems (); */
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISimpleEnumerator **_retval) = 0;

  /* nsISimpleEnumerator getUnreadItems (); */
  NS_SCRIPTABLE NS_IMETHOD GetUnreadItems(nsISimpleEnumerator **_retval) = 0;

  /* nsISimpleEnumerator getFlaggedItems (); */
  NS_SCRIPTABLE NS_IMETHOD GetFlaggedItems(nsISimpleEnumerator **_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIFeed, FLOCKIFEED_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEED \
  NS_SCRIPTABLE NS_IMETHOD GetURL(nsIURI **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetType(PRInt32 *_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetSubtitle(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetImage(nsIURI **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetFavicon(nsIURI **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetAuthor(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetPubDate(PRTime *_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetFinalURL(nsIURI **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetRealTitle(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 aIndex, flockIFeedItem **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISimpleEnumerator **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetUnreadItems(nsISimpleEnumerator **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetFlaggedItems(nsISimpleEnumerator **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEED(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetURL(nsIURI **_retval) { return _to GetURL(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI **_retval) { return _to GetLink(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & _retval) { return _to GetFormat(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetType(PRInt32 *_retval) { return _to GetType(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetSubtitle(nsAString & _retval) { return _to GetSubtitle(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetImage(nsIURI **_retval) { return _to GetImage(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFavicon(nsIURI **_retval) { return _to GetFavicon(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetAuthor(nsAString & _retval) { return _to GetAuthor(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetPubDate(PRTime *_retval) { return _to GetPubDate(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFinalURL(nsIURI **_retval) { return _to GetFinalURL(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetRealTitle(nsAString & _retval) { return _to GetRealTitle(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 aIndex, flockIFeedItem **_retval) { return _to GetItem(aIndex, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISimpleEnumerator **_retval) { return _to GetItems(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnreadItems(nsISimpleEnumerator **_retval) { return _to GetUnreadItems(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFlaggedItems(nsISimpleEnumerator **_retval) { return _to GetFlaggedItems(_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_FLOCKIFEED(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetURL(nsIURI **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormat(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetType(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetSubtitle(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubtitle(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetImage(nsIURI **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImage(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFavicon(nsIURI **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFavicon(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetAuthor(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthor(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetPubDate(PRTime *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPubDate(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFinalURL(nsIURI **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFinalURL(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetRealTitle(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRealTitle(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetItem(PRUint32 aIndex, flockIFeedItem **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItem(aIndex, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetItems(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItems(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnreadItems(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnreadItems(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetFlaggedItems(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlaggedItems(_retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeed
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEED

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* nsIURI getURL (); */
NS_IMETHODIMP _MYCLASS_::GetURL(nsIURI **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI getLink (); */
NS_IMETHODIMP _MYCLASS_::GetLink(nsIURI **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getFormat (); */
NS_IMETHODIMP _MYCLASS_::GetFormat(nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getType (); */
NS_IMETHODIMP _MYCLASS_::GetType(PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getSubtitle (); */
NS_IMETHODIMP _MYCLASS_::GetSubtitle(nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI getImage (); */
NS_IMETHODIMP _MYCLASS_::GetImage(nsIURI **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI getFavicon (); */
NS_IMETHODIMP _MYCLASS_::GetFavicon(nsIURI **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getAuthor (); */
NS_IMETHODIMP _MYCLASS_::GetAuthor(nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRTime getPubDate (); */
NS_IMETHODIMP _MYCLASS_::GetPubDate(PRTime *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI getFinalURL (); */
NS_IMETHODIMP _MYCLASS_::GetFinalURL(nsIURI **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getRealTitle (); */
NS_IMETHODIMP _MYCLASS_::GetRealTitle(nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* flockIFeedItem getItem (in PRUint32 aIndex); */
NS_IMETHODIMP _MYCLASS_::GetItem(PRUint32 aIndex, flockIFeedItem **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getItems (); */
NS_IMETHODIMP _MYCLASS_::GetItems(nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getUnreadItems (); */
NS_IMETHODIMP _MYCLASS_::GetUnreadItems(nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISimpleEnumerator getFlaggedItems (); */
NS_IMETHODIMP _MYCLASS_::GetFlaggedItems(nsISimpleEnumerator **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIFeed_h__ */
