/*
 * 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 "c44b48da-a468-44b1-8d3d-a8bacc8ae04f"

#define FLOCKIMETRICSSERVICE_IID \
  {0xc44b48da, 0xa468, 0x44b1, \
    { 0x8d, 0x3d, 0xa8, 0xba, 0xcc, 0x8a, 0xe0, 0x4f }}

class NS_NO_VTABLE flockIMetricsService : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIMETRICSSERVICE_IID)

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

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

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

  /* void reportNow (in AUTF8String aKey, in AUTF8String aValue); */
  NS_IMETHOD ReportNow(const nsACString & aKey, const nsACString & aValue) = 0;

  /* void reportCount (in AUTF8String aKey); */
  NS_IMETHOD ReportCount(const nsACString & aKey) = 0;

};

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

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIMETRICSSERVICE(_to) \
  NS_IMETHOD Report(const nsACString & aKey, nsIVariant *aValue) { return _to Report(aKey, aValue); } \
  NS_IMETHOD GetUserUUID(nsAString & _retval) { return _to GetUserUUID(_retval); } \
  NS_IMETHOD GetCurrentReport(nsIVariant **_retval) { return _to GetCurrentReport(_retval); } \
  NS_IMETHOD ReportNow(const nsACString & aKey, const nsACString & aValue) { return _to ReportNow(aKey, aValue); } \
  NS_IMETHOD ReportCount(const nsACString & aKey) { return _to ReportCount(aKey); } 

/* 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_IMETHOD Report(const nsACString & aKey, nsIVariant *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->Report(aKey, aValue); } \
  NS_IMETHOD GetUserUUID(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserUUID(_retval); } \
  NS_IMETHOD GetCurrentReport(nsIVariant **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentReport(_retval); } \
  NS_IMETHOD ReportNow(const nsACString & aKey, const nsACString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReportNow(aKey, aValue); } \
  NS_IMETHOD ReportCount(const nsACString & aKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReportCount(aKey); } 

#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;
}

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

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

/* void reportCount (in AUTF8String aKey); */
NS_IMETHODIMP _MYCLASS_::ReportCount(const nsACString & aKey)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIMetricsService_h__ */
