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

#ifndef __gen_flockIFeedFolderItem_h__
#define __gen_flockIFeedFolderItem_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 nsISimpleEnumerator; /* forward declaration */

class flockIFeedFolder; /* forward declaration */

class flockIFeedContext; /* forward declaration */


/* starting interface:    flockIFeedFolderItem */
#define FLOCKIFEEDFOLDERITEM_IID_STR "61489d6c-b1cc-4e03-a71e-76acbeb2588d"

#define FLOCKIFEEDFOLDERITEM_IID \
  {0x61489d6c, 0xb1cc, 0x4e03, \
    { 0xa7, 0x1e, 0x76, 0xac, 0xbe, 0xb2, 0x58, 0x8d }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIFeedFolderItem : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIFEEDFOLDERITEM_IID)

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

  /* void setTitle (in AString aTitle); */
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) = 0;

  /* flockIFeedFolder getFolder (); */
  NS_SCRIPTABLE NS_IMETHOD GetFolder(flockIFeedFolder **_retval) = 0;

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

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

  /* PRUint32 getUnreadCount (); */
  NS_SCRIPTABLE NS_IMETHOD GetUnreadCount(PRUint32 *_retval) = 0;

  /* void markRead (); */
  NS_SCRIPTABLE NS_IMETHOD MarkRead(void) = 0;

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIFeedFolderItem, FLOCKIFEEDFOLDERITEM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIFEEDFOLDERITEM \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle); \
  NS_SCRIPTABLE NS_IMETHOD GetFolder(flockIFeedFolder **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetContext(flockIFeedContext **_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetItemCount(PRUint32 *_retval); \
  NS_SCRIPTABLE NS_IMETHOD GetUnreadCount(PRUint32 *_retval); \
  NS_SCRIPTABLE NS_IMETHOD MarkRead(void); \
  NS_SCRIPTABLE NS_IMETHOD Refresh(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIFEEDFOLDERITEM(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & _retval) { return _to GetTitle(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return _to SetTitle(aTitle); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolder(flockIFeedFolder **_retval) { return _to GetFolder(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetContext(flockIFeedContext **_retval) { return _to GetContext(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetItemCount(PRUint32 *_retval) { return _to GetItemCount(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnreadCount(PRUint32 *_retval) { return _to GetUnreadCount(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD MarkRead(void) { return _to MarkRead(); } \
  NS_SCRIPTABLE NS_IMETHOD Refresh(void) { return _to Refresh(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIFEEDFOLDERITEM(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolder(flockIFeedFolder **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolder(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetContext(flockIFeedContext **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContext(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetItemCount(PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemCount(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnreadCount(PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnreadCount(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD MarkRead(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkRead(); } \
  NS_SCRIPTABLE NS_IMETHOD Refresh(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Refresh(); } 

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

/* Header file */
class _MYCLASS_ : public flockIFeedFolderItem
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIFEEDFOLDERITEM

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

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

/* void setTitle (in AString aTitle); */
NS_IMETHODIMP _MYCLASS_::SetTitle(const nsAString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* flockIFeedFolder getFolder (); */
NS_IMETHODIMP _MYCLASS_::GetFolder(flockIFeedFolder **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

/* PRUint32 getUnreadCount (); */
NS_IMETHODIMP _MYCLASS_::GetUnreadCount(PRUint32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

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


#endif /* __gen_flockIFeedFolderItem_h__ */
