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

#ifndef __gen_flockIMetricsService_h__
#define __gen_flockIMetricsService_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
class nsIVariant; /* forward declaration */


/* starting interface:    flockIMetricsService */
#define FLOCKIMETRICSSERVICE_IID_STR "64fd65b0-f914-4b29-a54c-3481f652c6b8"

#define FLOCKIMETRICSSERVICE_IID \
  {0x64fd65b0, 0xf914, 0x4b29, \
    { 0xa5, 0x4c, 0x34, 0x81, 0xf6, 0x52, 0xc6, 0xb8 }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIMetricsService : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIMETRICSSERVICE_IID)

  /* void report (in AUTF8String aKey, in nsIVariant aValue); */
  NS_SCRIPTABLE NS_IMETHOD Report(const nsACString & aKey, nsIVariant *aValue) = 0;

  /* AString getUserUUID (); */
  NS_SCRIPTABLE NS_IMETHOD GetUserUUID(nsAString & _retval) = 0;

  /* void doFirstRun (); */
  NS_SCRIPTABLE NS_IMETHOD DoFirstRun(void) = 0;

  /* nsIVariant getCurrentReport (); */
  NS_SCRIPTABLE NS_IMETHOD GetCurrentReport(nsIVariant **_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIMetricsService, FLOCKIMETRICSSERVICE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIMETRICSSERVICE \
  NS_SCRIPTABLE NS_IMETHOD Report(const nsACString & aKey, nsIVariant *aValue); \
  NS_SCRIPTABLE NS_IMETHOD GetUserUUID(nsAString & _retval); \
  NS_SCRIPTABLE NS_IMETHOD DoFirstRun(void); \
  NS_SCRIPTABLE NS_IMETHOD GetCurrentReport(nsIVariant **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIMETRICSSERVICE(_to) \
  NS_SCRIPTABLE NS_IMETHOD Report(const nsACString & aKey, nsIVariant *aValue) { return _to Report(aKey, aValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetUserUUID(nsAString & _retval) { return _to GetUserUUID(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD DoFirstRun(void) { return _to DoFirstRun(); } \
  NS_SCRIPTABLE NS_IMETHOD GetCurrentReport(nsIVariant **_retval) { return _to GetCurrentReport(_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_FLOCKIMETRICSSERVICE(_to) \
  NS_SCRIPTABLE NS_IMETHOD Report(const nsACString & aKey, nsIVariant *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->Report(aKey, aValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetUserUUID(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserUUID(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD DoFirstRun(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DoFirstRun(); } \
  NS_SCRIPTABLE NS_IMETHOD GetCurrentReport(nsIVariant **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentReport(_retval); } 

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

/* Header file */
class _MYCLASS_ : public flockIMetricsService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIMETRICSSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void report (in AUTF8String aKey, in nsIVariant aValue); */
NS_IMETHODIMP _MYCLASS_::Report(const nsACString & aKey, nsIVariant *aValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* void doFirstRun (); */
NS_IMETHODIMP _MYCLASS_::DoFirstRun()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIVariant getCurrentReport (); */
NS_IMETHODIMP _MYCLASS_::GetCurrentReport(nsIVariant **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIMetricsService_h__ */
