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

#ifndef __gen_flockIScrapbookService_h__
#define __gen_flockIScrapbookService_h__


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

#ifndef __gen_nsIRDFDataSource_h__
#include "nsIRDFDataSource.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:    flockIRichObject */
#define FLOCKIRICHOBJECT_IID_STR "25383099-7216-4049-9499-a541dbed862b"

#define FLOCKIRICHOBJECT_IID \
  {0x25383099, 0x7216, 0x4049, \
    { 0x94, 0x99, 0xa5, 0x41, 0xdb, 0xed, 0x86, 0x2b }}

class NS_NO_VTABLE flockIRichObject : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIRICHOBJECT_IID)

  /* attribute AString type; */
  NS_IMETHOD GetType(nsAString & aType) = 0;
  NS_IMETHOD SetType(const nsAString & aType) = 0;

  /* attribute AString title; */
  NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
  NS_IMETHOD SetTitle(const nsAString & aTitle) = 0;

  /* attribute AString content; */
  NS_IMETHOD GetContent(nsAString & aContent) = 0;
  NS_IMETHOD SetContent(const nsAString & aContent) = 0;

  /* attribute AString url; */
  NS_IMETHOD GetUrl(nsAString & aUrl) = 0;
  NS_IMETHOD SetUrl(const nsAString & aUrl) = 0;

  /* attribute AString webPageTitle; */
  NS_IMETHOD GetWebPageTitle(nsAString & aWebPageTitle) = 0;
  NS_IMETHOD SetWebPageTitle(const nsAString & aWebPageTitle) = 0;

  /* attribute AString webPageUrl; */
  NS_IMETHOD GetWebPageUrl(nsAString & aWebPageUrl) = 0;
  NS_IMETHOD SetWebPageUrl(const nsAString & aWebPageUrl) = 0;

  /* AString toHtml (); */
  NS_IMETHOD ToHtml(nsAString & _retval) = 0;

  /* AString toText (); */
  NS_IMETHOD ToText(nsAString & _retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIRICHOBJECT \
  NS_IMETHOD GetType(nsAString & aType); \
  NS_IMETHOD SetType(const nsAString & aType); \
  NS_IMETHOD GetTitle(nsAString & aTitle); \
  NS_IMETHOD SetTitle(const nsAString & aTitle); \
  NS_IMETHOD GetContent(nsAString & aContent); \
  NS_IMETHOD SetContent(const nsAString & aContent); \
  NS_IMETHOD GetUrl(nsAString & aUrl); \
  NS_IMETHOD SetUrl(const nsAString & aUrl); \
  NS_IMETHOD GetWebPageTitle(nsAString & aWebPageTitle); \
  NS_IMETHOD SetWebPageTitle(const nsAString & aWebPageTitle); \
  NS_IMETHOD GetWebPageUrl(nsAString & aWebPageUrl); \
  NS_IMETHOD SetWebPageUrl(const nsAString & aWebPageUrl); \
  NS_IMETHOD ToHtml(nsAString & _retval); \
  NS_IMETHOD ToText(nsAString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIRICHOBJECT(_to) \
  NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  NS_IMETHOD GetTitle(nsAString & aTitle) { return _to GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsAString & aTitle) { return _to SetTitle(aTitle); } \
  NS_IMETHOD GetContent(nsAString & aContent) { return _to GetContent(aContent); } \
  NS_IMETHOD SetContent(const nsAString & aContent) { return _to SetContent(aContent); } \
  NS_IMETHOD GetUrl(nsAString & aUrl) { return _to GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(const nsAString & aUrl) { return _to SetUrl(aUrl); } \
  NS_IMETHOD GetWebPageTitle(nsAString & aWebPageTitle) { return _to GetWebPageTitle(aWebPageTitle); } \
  NS_IMETHOD SetWebPageTitle(const nsAString & aWebPageTitle) { return _to SetWebPageTitle(aWebPageTitle); } \
  NS_IMETHOD GetWebPageUrl(nsAString & aWebPageUrl) { return _to GetWebPageUrl(aWebPageUrl); } \
  NS_IMETHOD SetWebPageUrl(const nsAString & aWebPageUrl) { return _to SetWebPageUrl(aWebPageUrl); } \
  NS_IMETHOD ToHtml(nsAString & _retval) { return _to ToHtml(_retval); } \
  NS_IMETHOD ToText(nsAString & _retval) { return _to ToText(_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_FLOCKIRICHOBJECT(_to) \
  NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  NS_IMETHOD GetTitle(nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
  NS_IMETHOD GetContent(nsAString & aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContent(aContent); } \
  NS_IMETHOD SetContent(const nsAString & aContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContent(aContent); } \
  NS_IMETHOD GetUrl(nsAString & aUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(const nsAString & aUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUrl(aUrl); } \
  NS_IMETHOD GetWebPageTitle(nsAString & aWebPageTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWebPageTitle(aWebPageTitle); } \
  NS_IMETHOD SetWebPageTitle(const nsAString & aWebPageTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWebPageTitle(aWebPageTitle); } \
  NS_IMETHOD GetWebPageUrl(nsAString & aWebPageUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWebPageUrl(aWebPageUrl); } \
  NS_IMETHOD SetWebPageUrl(const nsAString & aWebPageUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWebPageUrl(aWebPageUrl); } \
  NS_IMETHOD ToHtml(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToHtml(_retval); } \
  NS_IMETHOD ToText(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToText(_retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIRichObject
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIRICHOBJECT

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* attribute AString type; */
NS_IMETHODIMP _MYCLASS_::GetType(nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetType(const nsAString & aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString title; */
NS_IMETHODIMP _MYCLASS_::GetTitle(nsAString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetTitle(const nsAString & aTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString content; */
NS_IMETHODIMP _MYCLASS_::GetContent(nsAString & aContent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetContent(const nsAString & aContent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString url; */
NS_IMETHODIMP _MYCLASS_::GetUrl(nsAString & aUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetUrl(const nsAString & aUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString webPageTitle; */
NS_IMETHODIMP _MYCLASS_::GetWebPageTitle(nsAString & aWebPageTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetWebPageTitle(const nsAString & aWebPageTitle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString webPageUrl; */
NS_IMETHODIMP _MYCLASS_::GetWebPageUrl(nsAString & aWebPageUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetWebPageUrl(const nsAString & aWebPageUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

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


/* starting interface:    flockIScrapbookService */
#define FLOCKISCRAPBOOKSERVICE_IID_STR "0e4e7542-5534-41b3-acf9-a95927690200"

#define FLOCKISCRAPBOOKSERVICE_IID \
  {0x0e4e7542, 0x5534, 0x41b3, \
    { 0xac, 0xf9, 0xa9, 0x59, 0x27, 0x69, 0x02, 0x00 }}

class NS_NO_VTABLE flockIScrapbookService : public nsIRDFDataSource {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKISCRAPBOOKSERVICE_IID)

  /* long elementsCount (); */
  NS_IMETHOD ElementsCount(PRInt32 *_retval) = 0;

  /* string insert (in flockIRichObject anObject, in long aPosition); */
  NS_IMETHOD Insert(flockIRichObject *anObject, PRInt32 aPosition, char **_retval) = 0;

  /* string insertOld (in AString aType, in AString aTitle, in AString aContent, in AString anUrl, in AString aSrc, in long aPosition); */
  NS_IMETHOD InsertOld(const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, PRInt32 aPosition, char **_retval) = 0;

  /* string update (in AString anId, in AString aType, in AString aTitle, in AString aContent, in AString anUrl, in AString aSrc); */
  NS_IMETHOD Update(const nsAString & anId, const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, char **_retval) = 0;

  /* long getPositionOf (in AString anId); */
  NS_IMETHOD GetPositionOf(const nsAString & anId, PRInt32 *_retval) = 0;

  /* AString getTargetOf (in AString anId, in AString aTarget); */
  NS_IMETHOD GetTargetOf(const nsAString & anId, const nsAString & aTarget, nsAString & _retval) = 0;

  /* void remove (in AString anId); */
  NS_IMETHOD Remove(const nsAString & anId) = 0;

  /* void clear (); */
  NS_IMETHOD Clear(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKISCRAPBOOKSERVICE \
  NS_IMETHOD ElementsCount(PRInt32 *_retval); \
  NS_IMETHOD Insert(flockIRichObject *anObject, PRInt32 aPosition, char **_retval); \
  NS_IMETHOD InsertOld(const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, PRInt32 aPosition, char **_retval); \
  NS_IMETHOD Update(const nsAString & anId, const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, char **_retval); \
  NS_IMETHOD GetPositionOf(const nsAString & anId, PRInt32 *_retval); \
  NS_IMETHOD GetTargetOf(const nsAString & anId, const nsAString & aTarget, nsAString & _retval); \
  NS_IMETHOD Remove(const nsAString & anId); \
  NS_IMETHOD Clear(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKISCRAPBOOKSERVICE(_to) \
  NS_IMETHOD ElementsCount(PRInt32 *_retval) { return _to ElementsCount(_retval); } \
  NS_IMETHOD Insert(flockIRichObject *anObject, PRInt32 aPosition, char **_retval) { return _to Insert(anObject, aPosition, _retval); } \
  NS_IMETHOD InsertOld(const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, PRInt32 aPosition, char **_retval) { return _to InsertOld(aType, aTitle, aContent, anUrl, aSrc, aPosition, _retval); } \
  NS_IMETHOD Update(const nsAString & anId, const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, char **_retval) { return _to Update(anId, aType, aTitle, aContent, anUrl, aSrc, _retval); } \
  NS_IMETHOD GetPositionOf(const nsAString & anId, PRInt32 *_retval) { return _to GetPositionOf(anId, _retval); } \
  NS_IMETHOD GetTargetOf(const nsAString & anId, const nsAString & aTarget, nsAString & _retval) { return _to GetTargetOf(anId, aTarget, _retval); } \
  NS_IMETHOD Remove(const nsAString & anId) { return _to Remove(anId); } \
  NS_IMETHOD Clear(void) { return _to Clear(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKISCRAPBOOKSERVICE(_to) \
  NS_IMETHOD ElementsCount(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ElementsCount(_retval); } \
  NS_IMETHOD Insert(flockIRichObject *anObject, PRInt32 aPosition, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Insert(anObject, aPosition, _retval); } \
  NS_IMETHOD InsertOld(const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, PRInt32 aPosition, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertOld(aType, aTitle, aContent, anUrl, aSrc, aPosition, _retval); } \
  NS_IMETHOD Update(const nsAString & anId, const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Update(anId, aType, aTitle, aContent, anUrl, aSrc, _retval); } \
  NS_IMETHOD GetPositionOf(const nsAString & anId, PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPositionOf(anId, _retval); } \
  NS_IMETHOD GetTargetOf(const nsAString & anId, const nsAString & aTarget, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetOf(anId, aTarget, _retval); } \
  NS_IMETHOD Remove(const nsAString & anId) { return !_to ? NS_ERROR_NULL_POINTER : _to->Remove(anId); } \
  NS_IMETHOD Clear(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(); } 

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

/* Header file */
class _MYCLASS_ : public flockIScrapbookService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKISCRAPBOOKSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* long elementsCount (); */
NS_IMETHODIMP _MYCLASS_::ElementsCount(PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string insert (in flockIRichObject anObject, in long aPosition); */
NS_IMETHODIMP _MYCLASS_::Insert(flockIRichObject *anObject, PRInt32 aPosition, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string insertOld (in AString aType, in AString aTitle, in AString aContent, in AString anUrl, in AString aSrc, in long aPosition); */
NS_IMETHODIMP _MYCLASS_::InsertOld(const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, PRInt32 aPosition, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string update (in AString anId, in AString aType, in AString aTitle, in AString aContent, in AString anUrl, in AString aSrc); */
NS_IMETHODIMP _MYCLASS_::Update(const nsAString & anId, const nsAString & aType, const nsAString & aTitle, const nsAString & aContent, const nsAString & anUrl, const nsAString & aSrc, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getPositionOf (in AString anId); */
NS_IMETHODIMP _MYCLASS_::GetPositionOf(const nsAString & anId, PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getTargetOf (in AString anId, in AString aTarget); */
NS_IMETHODIMP _MYCLASS_::GetTargetOf(const nsAString & anId, const nsAString & aTarget, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void remove (in AString anId); */
NS_IMETHODIMP _MYCLASS_::Remove(const nsAString & anId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void clear (); */
NS_IMETHODIMP _MYCLASS_::Clear()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIScrapbookService_h__ */
