/*
 * 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 flockIFeedFolder; /* forward declaration */


/* starting interface:    flockIFeedFolderItem */
#define FLOCKIFEEDFOLDERITEM_IID_STR "e4c6789f-db64-4455-b3cb-6ed9cd169d21"

#define FLOCKIFEEDFOLDERITEM_IID \
  {0xe4c6789f, 0xdb64, 0x4455, \
    { 0xb3, 0xcb, 0x6e, 0xd9, 0xcd, 0x16, 0x9d, 0x21 }}

class NS_NO_VTABLE flockIFeedFolderItem : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIFEEDFOLDERITEM_IID)

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

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

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

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

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

};

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

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

/* 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_IMETHOD GetTitle(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(_retval); } \
  NS_IMETHOD SetTitle(const nsAString & title) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(title); } \
  NS_IMETHOD GetFolder(flockIFeedFolder **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolder(_retval); } \
  NS_IMETHOD GetUnreadCount(PRUint32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnreadCount(_retval); } \
  NS_IMETHOD MarkRead(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkRead(); } 

#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 title); */
NS_IMETHODIMP _MYCLASS_::SetTitle(const nsAString & title)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* flockIFeedFolder getFolder (); */
NS_IMETHODIMP _MYCLASS_::GetFolder(flockIFeedFolder **_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;
}

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


#endif /* __gen_flockIFeedFolderItem_h__ */
