/*
 * 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_nsISimpleEnumerator_h__
#include "nsISimpleEnumerator.h"
#endif

#ifndef __gen_nsIURL_h__
#include "nsIURL.h"
#endif

#ifndef __gen_flockIFeedItem_h__
#include "flockIFeedItem.h"
#endif

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

#ifndef __gen_flockIFeedContext_h__
#include "flockIFeedContext.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:    flockIFeed */
#define FLOCKIFEED_IID_STR "a19f2f4a-58e8-4898-ba51-22bccfdc883e"

#define FLOCKIFEED_IID \
  {0xa19f2f4a, 0x58e8, 0x4898, \
    { 0xba, 0x51, 0x22, 0xbc, 0xcf, 0xdc, 0x88, 0x3e }}

class NS_NO_VTABLE flockIFeed : public flockIFeedFolderItem {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEED_IID)

  /* nsIURL getURL (); */
  NS_IMETHOD GetURL(nsIURL **_retval) = 0;

  /* nsIURL getLink (); */
  NS_IMETHOD GetLink(nsIURL **_retval) = 0;

  /* AString getType (); */
  NS_IMETHOD GetType(nsAString & _retval) = 0;

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

  /* nsIURL getImage (); */
  NS_IMETHOD GetImage(nsIURL **_retval) = 0;

  /* nsIURL getFavicon (); */
  NS_IMETHOD GetFavicon(nsIURL **_retval) = 0;

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

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

  /* nsIURL getFinalURL (); */
  NS_IMETHOD GetFinalURL(nsIURL **_retval) = 0;

  /* PRUint32 getItemCount (); */
  NS_IMETHOD GetItemCount(PRUint32 *_retval) = 0;

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

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

  /* void refresh (); */
  NS_IMETHOD Refresh(void) = 0;

  /* flockIFeedContext getContext (); */
  NS_IMETHOD GetContext(flockIFeedContext **_retval) = 0;

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

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

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEED \
  NS_IMETHOD GetURL(nsIURL **_retval); \
  NS_IMETHOD GetLink(nsIURL **_retval); \
  NS_IMETHOD GetType(nsAString & _retval); \
  NS_IMETHOD GetSubtitle(nsAString & _retval); \
  NS_IMETHOD GetImage(nsIURL **_retval); \
  NS_IMETHOD GetFavicon(nsIURL **_retval); \
  NS_IMETHOD GetAuthor(nsAString & _retval); \
  NS_IMETHOD GetPubDate(PRTime *_retval); \
  NS_IMETHOD GetFinalURL(nsIURL **_retval); \
  NS_IMETHOD GetItemCount(PRUint32 *_retval); \
  NS_IMETHOD GetItem(PRUint32 index, flockIFeedItem **_retval); \
  NS_IMETHOD GetItems(nsISimpleEnumerator **_retval); \
  NS_IMETHOD Refresh(void); \
  NS_IMETHOD GetContext(flockIFeedContext **_retval); \
  NS_IMETHOD GetUnreadItems(nsISimpleEnumerator **_retval); \
  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_IMETHOD GetURL(nsIURL **_retval) { return _to GetURL(_retval); } \
  NS_IMETHOD GetLink(nsIURL **_retval) { return _to GetLink(_retval); } \
  NS_IMETHOD GetType(nsAString & _retval) { return _to GetType(_retval); } \
  NS_IMETHOD GetSubtitle(nsAString & _retval) { return _to GetSubtitle(_retval); } \
  NS_IMETHOD GetImage(nsIURL **_retval) { return _to GetImage(_retval); } \
  NS_IMETHOD GetFavicon(nsIURL **_retval) { return _to GetFavicon(_retval); } \
  NS_IMETHOD GetAuthor(nsAString & _retval) { return _to GetAuthor(_retval); } \
  NS_IMETHOD GetPubDate(PRTime *_retval) { return _to GetPubDate(_retval); } \
  NS_IMETHOD GetFinalURL(nsIURL **_retval) { return _to GetFinalURL(_retval); } \
  NS_IMETHOD GetItemCount(PRUint32 *_retval) { return _to GetItemCount(_retval); } \
  NS_IMETHOD GetItem(PRUint32 index, flockIFeedItem **_retval) { return _to GetItem(index, _retval); } \
  NS_IMETHOD GetItems(nsISimpleEnumerator **_retval) { return _to GetItems(_retval); } \
  NS_IMETHOD Refresh(void) { return _to Refresh(); } \
  NS_IMETHOD GetContext(flockIFeedContext **_retval) { return _to GetContext(_retval); } \
  NS_IMETHOD GetUnreadItems(nsISimpleEnumerator **_retval) { return _to GetUnreadItems(_retval); } \
  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_IMETHOD GetURL(nsIURL **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(_retval); } \
  NS_IMETHOD GetLink(nsIURL **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(_retval); } \
  NS_IMETHOD GetType(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(_retval); } \
  NS_IMETHOD GetSubtitle(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSubtitle(_retval); } \
  NS_IMETHOD GetImage(nsIURL **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImage(_retval); } \
  NS_IMETHOD GetFavicon(nsIURL **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFavicon(_retval); } \
  NS_IMETHOD GetAuthor(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthor(_retval); } \
  NS_IMETHOD GetPubDate(PRTime *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPubDate(_retval); } \
  NS_IMETHOD GetFinalURL(nsIURL **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFinalURL(_retval); } \
  NS_IMETHOD GetItemCount(PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemCount(_retval); } \
  NS_IMETHOD GetItem(PRUint32 index, flockIFeedItem **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItem(index, _retval); } \
  NS_IMETHOD GetItems(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItems(_retval); } \
  NS_IMETHOD Refresh(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Refresh(); } \
  NS_IMETHOD GetContext(flockIFeedContext **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContext(_retval); } \
  NS_IMETHOD GetUnreadItems(nsISimpleEnumerator **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnreadItems(_retval); } \
  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 */
}

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

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

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

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

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

/* nsIURL getFavicon (); */
NS_IMETHODIMP _MYCLASS_::GetFavicon(nsIURL **_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;
}

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

/* PRUint32 getItemCount (); */
NS_IMETHODIMP _MYCLASS_::GetItemCount(PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

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

/* flockIFeedContext getContext (); */
NS_IMETHODIMP _MYCLASS_::GetContext(flockIFeedContext **_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__ */
