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

#ifndef __gen_flockIFeedItem_h__
#define __gen_flockIFeedItem_h__


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

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

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

class flockIFeedContext; /* forward declaration */


/* starting interface:    flockIFeedItem */
#define FLOCKIFEEDITEM_IID_STR "61222e81-5d9e-45ad-aaa4-0e1101ce386f"

#define FLOCKIFEEDITEM_IID \
  {0x61222e81, 0x5d9e, 0x45ad, \
    { 0xaa, 0xa4, 0x0e, 0x11, 0x01, 0xce, 0x38, 0x6f }}

class NS_NO_VTABLE flockIFeedItem : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDITEM_IID)

  /* AString getItemID (); */
  NS_IMETHOD GetItemID(nsAString & _retval) = 0;

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

  /* AString getTitle (); */
  NS_IMETHOD GetTitle(nsAString & _retval) = 0;

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

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

  /* PRTime getCorrectedPubDate (); */
  NS_IMETHOD GetCorrectedPubDate(PRTime *_retval) = 0;

  /* AString getContent (); */
  NS_IMETHOD GetContent(nsAString & _retval) = 0;

  /* AString getExcerpt (); */
  NS_IMETHOD GetExcerpt(nsAString & _retval) = 0;

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

  /* boolean isRead (); */
  NS_IMETHOD IsRead(PRBool *_retval) = 0;

  /* boolean isFlagged (); */
  NS_IMETHOD IsFlagged(PRBool *_retval) = 0;

  /* void setRead (in boolean read); */
  NS_IMETHOD SetRead(PRBool read) = 0;

  /* void setFlagged (in boolean flagged); */
  NS_IMETHOD SetFlagged(PRBool flagged) = 0;

  /* flockIFeed getFeed (); */
  NS_IMETHOD GetFeed(flockIFeed **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDITEM \
  NS_IMETHOD GetItemID(nsAString & _retval); \
  NS_IMETHOD GetLink(nsIURL **_retval); \
  NS_IMETHOD GetTitle(nsAString & _retval); \
  NS_IMETHOD GetAuthor(nsAString & _retval); \
  NS_IMETHOD GetPubDate(PRTime *_retval); \
  NS_IMETHOD GetCorrectedPubDate(PRTime *_retval); \
  NS_IMETHOD GetContent(nsAString & _retval); \
  NS_IMETHOD GetExcerpt(nsAString & _retval); \
  NS_IMETHOD GetContext(flockIFeedContext **_retval); \
  NS_IMETHOD IsRead(PRBool *_retval); \
  NS_IMETHOD IsFlagged(PRBool *_retval); \
  NS_IMETHOD SetRead(PRBool read); \
  NS_IMETHOD SetFlagged(PRBool flagged); \
  NS_IMETHOD GetFeed(flockIFeed **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDITEM(_to) \
  NS_IMETHOD GetItemID(nsAString & _retval) { return _to GetItemID(_retval); } \
  NS_IMETHOD GetLink(nsIURL **_retval) { return _to GetLink(_retval); } \
  NS_IMETHOD GetTitle(nsAString & _retval) { return _to GetTitle(_retval); } \
  NS_IMETHOD GetAuthor(nsAString & _retval) { return _to GetAuthor(_retval); } \
  NS_IMETHOD GetPubDate(PRTime *_retval) { return _to GetPubDate(_retval); } \
  NS_IMETHOD GetCorrectedPubDate(PRTime *_retval) { return _to GetCorrectedPubDate(_retval); } \
  NS_IMETHOD GetContent(nsAString & _retval) { return _to GetContent(_retval); } \
  NS_IMETHOD GetExcerpt(nsAString & _retval) { return _to GetExcerpt(_retval); } \
  NS_IMETHOD GetContext(flockIFeedContext **_retval) { return _to GetContext(_retval); } \
  NS_IMETHOD IsRead(PRBool *_retval) { return _to IsRead(_retval); } \
  NS_IMETHOD IsFlagged(PRBool *_retval) { return _to IsFlagged(_retval); } \
  NS_IMETHOD SetRead(PRBool read) { return _to SetRead(read); } \
  NS_IMETHOD SetFlagged(PRBool flagged) { return _to SetFlagged(flagged); } \
  NS_IMETHOD GetFeed(flockIFeed **_retval) { return _to GetFeed(_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_FLOCKIFEEDITEM(_to) \
  NS_IMETHOD GetItemID(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemID(_retval); } \
  NS_IMETHOD GetLink(nsIURL **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(_retval); } \
  NS_IMETHOD GetTitle(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(_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 GetCorrectedPubDate(PRTime *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCorrectedPubDate(_retval); } \
  NS_IMETHOD GetContent(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(_retval); } \
  NS_IMETHOD GetExcerpt(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExcerpt(_retval); } \
  NS_IMETHOD GetContext(flockIFeedContext **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContext(_retval); } \
  NS_IMETHOD IsRead(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsRead(_retval); } \
  NS_IMETHOD IsFlagged(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFlagged(_retval); } \
  NS_IMETHOD SetRead(PRBool read) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRead(read); } \
  NS_IMETHOD SetFlagged(PRBool flagged) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFlagged(flagged); } \
  NS_IMETHOD GetFeed(flockIFeed **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeed(_retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedItem
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDITEM

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

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

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

/* AString getTitle (); */
NS_IMETHODIMP _MYCLASS_::GetTitle(nsAString & _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;
}

/* PRTime getCorrectedPubDate (); */
NS_IMETHODIMP _MYCLASS_::GetCorrectedPubDate(PRTime *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

/* flockIFeedContext getContext (); */
NS_IMETHODIMP _MYCLASS_::GetContext(flockIFeedContext **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isRead (); */
NS_IMETHODIMP _MYCLASS_::IsRead(PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean isFlagged (); */
NS_IMETHODIMP _MYCLASS_::IsFlagged(PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setRead (in boolean read); */
NS_IMETHODIMP _MYCLASS_::SetRead(PRBool read)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFlagged (in boolean flagged); */
NS_IMETHODIMP _MYCLASS_::SetFlagged(PRBool flagged)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* flockIFeed getFeed (); */
NS_IMETHODIMP _MYCLASS_::GetFeed(flockIFeed **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIFeedItem_h__ */
