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

#ifndef __gen_flockIPoller_h__
#define __gen_flockIPoller_h__


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

#ifndef __gen_nsIStringEnumerator_h__
#include "nsIStringEnumerator.h"
#endif

#ifndef __gen_flockIError_h__
#include "flockIError.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:    flockIPollerService */
#define FLOCKIPOLLERSERVICE_IID_STR "d7686637-ac81-447a-bbb6-7a584024ea94"

#define FLOCKIPOLLERSERVICE_IID \
  {0xd7686637, 0xac81, 0x447a, \
    { 0xbb, 0xb6, 0x7a, 0x58, 0x40, 0x24, 0xea, 0x94 }}

class NS_NO_VTABLE flockIPollerService : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIPOLLERSERVICE_IID)

  /* void forceRefresh (in AString aUrn); */
  NS_IMETHOD ForceRefresh(const nsAString & aUrn) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIPOLLERSERVICE \
  NS_IMETHOD ForceRefresh(const nsAString & aUrn); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIPOLLERSERVICE(_to) \
  NS_IMETHOD ForceRefresh(const nsAString & aUrn) { return _to ForceRefresh(aUrn); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIPOLLERSERVICE(_to) \
  NS_IMETHOD ForceRefresh(const nsAString & aUrn) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForceRefresh(aUrn); } 

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

/* Header file */
class _MYCLASS_ : public flockIPollerService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIPOLLERSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void forceRefresh (in AString aUrn); */
NS_IMETHODIMP _MYCLASS_::ForceRefresh(const nsAString & aUrn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIPoller_h__ */
