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

#ifndef __gen_flockIPeopleRefreshListener_h__
#define __gen_flockIPeopleRefreshListener_h__


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

#ifndef __gen_flockIListener_h__
#include "flockIListener.h"
#endif

#ifndef __gen_flockIPollingService_h__
#include "flockIPollingService.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:    flockIPeopleRefreshListener */
#define FLOCKIPEOPLEREFRESHLISTENER_IID_STR "933a2990-53c8-11dd-ae16-0800200c9a66"

#define FLOCKIPEOPLEREFRESHLISTENER_IID \
  {0x933a2990, 0x53c8, 0x11dd, \
    { 0xae, 0x16, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIPeopleRefreshListener : public flockIListener {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIPEOPLEREFRESHLISTENER_IID)

  /* void init (in long processCount, in AString refreshUrn, in flockIPollingListener aPollingListener, in long shortRefreshDelay); */
  NS_SCRIPTABLE NS_IMETHOD Init(PRInt32 processCount, const nsAString & refreshUrn, flockIPollingListener *aPollingListener, PRInt32 shortRefreshDelay) = 0;

  /**
   * refreshfinished
   * Functionality to let Listener know that service has completed refresh
   * sets the processCount to the addition of errors and successes
   */
  /* void refreshFinished (); */
  NS_SCRIPTABLE NS_IMETHOD RefreshFinished(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIPeopleRefreshListener, FLOCKIPEOPLEREFRESHLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIPEOPLEREFRESHLISTENER \
  NS_SCRIPTABLE NS_IMETHOD Init(PRInt32 processCount, const nsAString & refreshUrn, flockIPollingListener *aPollingListener, PRInt32 shortRefreshDelay); \
  NS_SCRIPTABLE NS_IMETHOD RefreshFinished(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIPEOPLEREFRESHLISTENER(_to) \
  NS_SCRIPTABLE NS_IMETHOD Init(PRInt32 processCount, const nsAString & refreshUrn, flockIPollingListener *aPollingListener, PRInt32 shortRefreshDelay) { return _to Init(processCount, refreshUrn, aPollingListener, shortRefreshDelay); } \
  NS_SCRIPTABLE NS_IMETHOD RefreshFinished(void) { return _to RefreshFinished(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIPEOPLEREFRESHLISTENER(_to) \
  NS_SCRIPTABLE NS_IMETHOD Init(PRInt32 processCount, const nsAString & refreshUrn, flockIPollingListener *aPollingListener, PRInt32 shortRefreshDelay) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(processCount, refreshUrn, aPollingListener, shortRefreshDelay); } \
  NS_SCRIPTABLE NS_IMETHOD RefreshFinished(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshFinished(); } 

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

/* Header file */
class _MYCLASS_ : public flockIPeopleRefreshListener
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIPEOPLEREFRESHLISTENER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void init (in long processCount, in AString refreshUrn, in flockIPollingListener aPollingListener, in long shortRefreshDelay); */
NS_IMETHODIMP _MYCLASS_::Init(PRInt32 processCount, const nsAString & refreshUrn, flockIPollingListener *aPollingListener, PRInt32 shortRefreshDelay)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void refreshFinished (); */
NS_IMETHODIMP _MYCLASS_::RefreshFinished()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIPeopleRefreshListener_h__ */
