/*
 * 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

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

class flockIFeed; /* forward declaration */

class flockIFeedContext; /* forward declaration */


/* starting interface:    flockIFeedItem */
#define FLOCKIFEEDITEM_IID_STR "319c5ab6-dc48-4934-9fa5-85912dafebc2"

#define FLOCKIFEEDITEM_IID \
  {0x319c5ab6, 0xdc48, 0x4934, \
    { 0x9f, 0xa5, 0x85, 0x91, 0x2d, 0xaf, 0xeb, 0xc2 }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIFeedItem : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIFEEDITEM_IID)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIFeedItem, FLOCKIFEEDITEM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDITEM \
  NS_SCRIPTABLE NS_IMETHOD GetItemID(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetAuthor(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetPubDate(PRTime *_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetCorrectedPubDate(PRTime *_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetContent(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetExcerpt(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD GetContext(flockIFeedContext **_retval); \
  NS_SCRIPTABLE NS_IMETHOD IsRead(PRBool *_retval); \
  NS_SCRIPTABLE NS_IMETHOD IsFlagged(PRBool *_retval); \
  NS_SCRIPTABLE NS_IMETHOD SetRead(PRBool aRead); \
  NS_SCRIPTABLE NS_IMETHOD SetFlagged(PRBool aFlagged); \
  NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetItemID(nsAString & _retval) { return _to GetItemID(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI **_retval) { return _to GetLink(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & _retval) { return _to GetTitle(_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 GetCorrectedPubDate(PRTime *_retval) { return _to GetCorrectedPubDate(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetContent(nsAString & _retval) { return _to GetContent(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetExcerpt(nsAString & _retval) { return _to GetExcerpt(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetContext(flockIFeedContext **_retval) { return _to GetContext(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD IsRead(PRBool *_retval) { return _to IsRead(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD IsFlagged(PRBool *_retval) { return _to IsFlagged(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetRead(PRBool aRead) { return _to SetRead(aRead); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlagged(PRBool aFlagged) { return _to SetFlagged(aFlagged); } \
  NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetItemID(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemID(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetLink(nsIURI **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(_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 GetCorrectedPubDate(PRTime *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCorrectedPubDate(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetContent(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetExcerpt(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExcerpt(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetContext(flockIFeedContext **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContext(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD IsRead(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsRead(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD IsFlagged(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsFlagged(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetRead(PRBool aRead) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRead(aRead); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlagged(PRBool aFlagged) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFlagged(aFlagged); } \
  NS_SCRIPTABLE 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;
}

/* nsIURI getLink (); */
NS_IMETHODIMP _MYCLASS_::GetLink(nsIURI **_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 aRead); */
NS_IMETHODIMP _MYCLASS_::SetRead(PRBool aRead)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFlagged (in boolean aFlagged); */
NS_IMETHODIMP _MYCLASS_::SetFlagged(PRBool aFlagged)
{
    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__ */
