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

#ifndef __gen_flockIMyworldService_h__
#define __gen_flockIMyworldService_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

/* starting interface:    flockIMyworldService */
#define FLOCKIMYWORLDSERVICE_IID_STR "ee12adc6-6d53-695f-dabb-93fcd6716ccc"

#define FLOCKIMYWORLDSERVICE_IID \
  {0xee12adc6, 0x6d53, 0x695f, \
    { 0xda, 0xbb, 0x93, 0xfc, 0xd6, 0x71, 0x6c, 0xcc }}

/**
 * flockIMyworldService is the interface that the flock myworld service exposes to
 * allow the rest of the browser and extensions to interact with flickr feeds.
 */
class NS_NO_VTABLE flockIMyworldService : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIMYWORLDSERVICE_IID)

  /* void queueResource (in wstring aKey); */
  NS_IMETHOD QueueResource(const PRUnichar *aKey) = 0;

  /* void clearQueue (); */
  NS_IMETHOD ClearQueue(void) = 0;

  /* wstring checkCache (in wstring aKey); */
  NS_IMETHOD CheckCache(const PRUnichar *aKey, PRUnichar **_retval) = 0;

  /* AString getColumnLayout (); */
  NS_IMETHOD GetColumnLayout(nsAString & _retval) = 0;

  /* void setColumnLayout (in AString aLayout); */
  NS_IMETHOD SetColumnLayout(const nsAString & aLayout) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIMYWORLDSERVICE \
  NS_IMETHOD QueueResource(const PRUnichar *aKey); \
  NS_IMETHOD ClearQueue(void); \
  NS_IMETHOD CheckCache(const PRUnichar *aKey, PRUnichar **_retval); \
  NS_IMETHOD GetColumnLayout(nsAString & _retval); \
  NS_IMETHOD SetColumnLayout(const nsAString & aLayout); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIMYWORLDSERVICE(_to) \
  NS_IMETHOD QueueResource(const PRUnichar *aKey) { return _to QueueResource(aKey); } \
  NS_IMETHOD ClearQueue(void) { return _to ClearQueue(); } \
  NS_IMETHOD CheckCache(const PRUnichar *aKey, PRUnichar **_retval) { return _to CheckCache(aKey, _retval); } \
  NS_IMETHOD GetColumnLayout(nsAString & _retval) { return _to GetColumnLayout(_retval); } \
  NS_IMETHOD SetColumnLayout(const nsAString & aLayout) { return _to SetColumnLayout(aLayout); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIMYWORLDSERVICE(_to) \
  NS_IMETHOD QueueResource(const PRUnichar *aKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueueResource(aKey); } \
  NS_IMETHOD ClearQueue(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearQueue(); } \
  NS_IMETHOD CheckCache(const PRUnichar *aKey, PRUnichar **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckCache(aKey, _retval); } \
  NS_IMETHOD GetColumnLayout(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnLayout(_retval); } \
  NS_IMETHOD SetColumnLayout(const nsAString & aLayout) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetColumnLayout(aLayout); } 

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

/* Header file */
class _MYCLASS_ : public flockIMyworldService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIMYWORLDSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void queueResource (in wstring aKey); */
NS_IMETHODIMP _MYCLASS_::QueueResource(const PRUnichar *aKey)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void clearQueue (); */
NS_IMETHODIMP _MYCLASS_::ClearQueue()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* wstring checkCache (in wstring aKey); */
NS_IMETHODIMP _MYCLASS_::CheckCache(const PRUnichar *aKey, PRUnichar **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* void setColumnLayout (in AString aLayout); */
NS_IMETHODIMP _MYCLASS_::SetColumnLayout(const nsAString & aLayout)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIMyworldService_h__ */
