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

#ifndef __gen_flockIClusterer_h__
#define __gen_flockIClusterer_h__


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

#ifndef __gen_nsIArray_h__
#include "nsIArray.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:    flockIPost */
#define FLOCKIPOST_IID_STR "b623a7b3-4220-464d-bf5d-d505e5ef49eb"

#define FLOCKIPOST_IID \
  {0xb623a7b3, 0x4220, 0x464d, \
    { 0xbf, 0x5d, 0xd5, 0x05, 0xe5, 0xef, 0x49, 0xeb }}

class NS_NO_VTABLE flockIPost : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIPOST_IID)

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

  /* attribute AString link; */
  NS_IMETHOD GetLink(nsAString & aLink) = 0;
  NS_IMETHOD SetLink(const nsAString & aLink) = 0;

  /* attribute AString description; */
  NS_IMETHOD GetDescription(nsAString & aDescription) = 0;
  NS_IMETHOD SetDescription(const nsAString & aDescription) = 0;

  /* attribute AString words; */
  NS_IMETHOD GetWords(nsAString & aWords) = 0;
  NS_IMETHOD SetWords(const nsAString & aWords) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIPOST \
  NS_IMETHOD GetTitle(nsAString & aTitle); \
  NS_IMETHOD SetTitle(const nsAString & aTitle); \
  NS_IMETHOD GetLink(nsAString & aLink); \
  NS_IMETHOD SetLink(const nsAString & aLink); \
  NS_IMETHOD GetDescription(nsAString & aDescription); \
  NS_IMETHOD SetDescription(const nsAString & aDescription); \
  NS_IMETHOD GetWords(nsAString & aWords); \
  NS_IMETHOD SetWords(const nsAString & aWords); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIPOST(_to) \
  NS_IMETHOD GetTitle(nsAString & aTitle) { return _to GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsAString & aTitle) { return _to SetTitle(aTitle); } \
  NS_IMETHOD GetLink(nsAString & aLink) { return _to GetLink(aLink); } \
  NS_IMETHOD SetLink(const nsAString & aLink) { return _to SetLink(aLink); } \
  NS_IMETHOD GetDescription(nsAString & aDescription) { return _to GetDescription(aDescription); } \
  NS_IMETHOD SetDescription(const nsAString & aDescription) { return _to SetDescription(aDescription); } \
  NS_IMETHOD GetWords(nsAString & aWords) { return _to GetWords(aWords); } \
  NS_IMETHOD SetWords(const nsAString & aWords) { return _to SetWords(aWords); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIPOST(_to) \
  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 GetLink(nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
  NS_IMETHOD SetLink(const nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
  NS_IMETHOD GetDescription(nsAString & aDescription) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDescription(aDescription); } \
  NS_IMETHOD SetDescription(const nsAString & aDescription) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDescription(aDescription); } \
  NS_IMETHOD GetWords(nsAString & aWords) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWords(aWords); } \
  NS_IMETHOD SetWords(const nsAString & aWords) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWords(aWords); } 

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

/* Header file */
class _MYCLASS_ : public flockIPost
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIPOST

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* 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 link; */
NS_IMETHODIMP _MYCLASS_::GetLink(nsAString & aLink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetLink(const nsAString & aLink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString description; */
NS_IMETHODIMP _MYCLASS_::GetDescription(nsAString & aDescription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetDescription(const nsAString & aDescription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString words; */
NS_IMETHODIMP _MYCLASS_::GetWords(nsAString & aWords)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetWords(const nsAString & aWords)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockICluster */
#define FLOCKICLUSTER_IID_STR "da2fff7e-98dc-4d01-870c-5086b0859465"

#define FLOCKICLUSTER_IID \
  {0xda2fff7e, 0x98dc, 0x4d01, \
    { 0x87, 0x0c, 0x50, 0x86, 0xb0, 0x85, 0x94, 0x65 }}

class NS_NO_VTABLE flockICluster : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKICLUSTER_IID)

  /* attribute AString keyword; */
  NS_IMETHOD GetKeyword(nsAString & aKeyword) = 0;
  NS_IMETHOD SetKeyword(const nsAString & aKeyword) = 0;

  /* attribute AString keyword2; */
  NS_IMETHOD GetKeyword2(nsAString & aKeyword2) = 0;
  NS_IMETHOD SetKeyword2(const nsAString & aKeyword2) = 0;

  /* attribute nsIMutableArray posts; */
  NS_IMETHOD GetPosts(nsIMutableArray * *aPosts) = 0;
  NS_IMETHOD SetPosts(nsIMutableArray * aPosts) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKICLUSTER \
  NS_IMETHOD GetKeyword(nsAString & aKeyword); \
  NS_IMETHOD SetKeyword(const nsAString & aKeyword); \
  NS_IMETHOD GetKeyword2(nsAString & aKeyword2); \
  NS_IMETHOD SetKeyword2(const nsAString & aKeyword2); \
  NS_IMETHOD GetPosts(nsIMutableArray * *aPosts); \
  NS_IMETHOD SetPosts(nsIMutableArray * aPosts); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKICLUSTER(_to) \
  NS_IMETHOD GetKeyword(nsAString & aKeyword) { return _to GetKeyword(aKeyword); } \
  NS_IMETHOD SetKeyword(const nsAString & aKeyword) { return _to SetKeyword(aKeyword); } \
  NS_IMETHOD GetKeyword2(nsAString & aKeyword2) { return _to GetKeyword2(aKeyword2); } \
  NS_IMETHOD SetKeyword2(const nsAString & aKeyword2) { return _to SetKeyword2(aKeyword2); } \
  NS_IMETHOD GetPosts(nsIMutableArray * *aPosts) { return _to GetPosts(aPosts); } \
  NS_IMETHOD SetPosts(nsIMutableArray * aPosts) { return _to SetPosts(aPosts); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKICLUSTER(_to) \
  NS_IMETHOD GetKeyword(nsAString & aKeyword) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyword(aKeyword); } \
  NS_IMETHOD SetKeyword(const nsAString & aKeyword) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKeyword(aKeyword); } \
  NS_IMETHOD GetKeyword2(nsAString & aKeyword2) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyword2(aKeyword2); } \
  NS_IMETHOD SetKeyword2(const nsAString & aKeyword2) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKeyword2(aKeyword2); } \
  NS_IMETHOD GetPosts(nsIMutableArray * *aPosts) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPosts(aPosts); } \
  NS_IMETHOD SetPosts(nsIMutableArray * aPosts) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPosts(aPosts); } 

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

/* Header file */
class _MYCLASS_ : public flockICluster
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKICLUSTER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* attribute AString keyword; */
NS_IMETHODIMP _MYCLASS_::GetKeyword(nsAString & aKeyword)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetKeyword(const nsAString & aKeyword)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString keyword2; */
NS_IMETHODIMP _MYCLASS_::GetKeyword2(nsAString & aKeyword2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetKeyword2(const nsAString & aKeyword2)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIMutableArray posts; */
NS_IMETHODIMP _MYCLASS_::GetPosts(nsIMutableArray * *aPosts)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetPosts(nsIMutableArray * aPosts)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    flockIClusterer */
#define FLOCKICLUSTERER_IID_STR "41d019a4-b6e9-4ead-ba8d-b592e1876181"

#define FLOCKICLUSTERER_IID \
  {0x41d019a4, 0xb6e9, 0x4ead, \
    { 0xba, 0x8d, 0xb5, 0x92, 0xe1, 0x87, 0x61, 0x81 }}

class NS_NO_VTABLE flockIClusterer : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKICLUSTERER_IID)

  /* nsIMutableArray cluster (in PRUint32 numPosts, [array, size_is (numPosts)] in flockIPost posts); */
  NS_IMETHOD Cluster(PRUint32 numPosts, flockIPost **posts, nsIMutableArray **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKICLUSTERER \
  NS_IMETHOD Cluster(PRUint32 numPosts, flockIPost **posts, nsIMutableArray **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKICLUSTERER(_to) \
  NS_IMETHOD Cluster(PRUint32 numPosts, flockIPost **posts, nsIMutableArray **_retval) { return _to Cluster(numPosts, posts, _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_FLOCKICLUSTERER(_to) \
  NS_IMETHOD Cluster(PRUint32 numPosts, flockIPost **posts, nsIMutableArray **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Cluster(numPosts, posts, _retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIClusterer
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKICLUSTERER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* nsIMutableArray cluster (in PRUint32 numPosts, [array, size_is (numPosts)] in flockIPost posts); */
NS_IMETHODIMP _MYCLASS_::Cluster(PRUint32 numPosts, flockIPost **posts, nsIMutableArray **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIClusterer_h__ */
