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

#ifndef __gen_flockISystemInfo_h__
#define __gen_flockISystemInfo_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:    flockISystemInfo */
#define FLOCKISYSTEMINFO_IID_STR "7386b0e1-1a16-46aa-9e8c-e511107613eb"

#define FLOCKISYSTEMINFO_IID \
  {0x7386b0e1, 0x1a16, 0x46aa, \
    { 0x9e, 0x8c, 0xe5, 0x11, 0x10, 0x76, 0x13, 0xeb }}

class NS_NO_VTABLE flockISystemInfo : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKISYSTEMINFO_IID)

  /* PRInt32 getCPU (); */
  NS_IMETHOD GetCPU(PRInt32 *_retval) = 0;

  /* PRInt64 getMem (); */
  NS_IMETHOD GetMem(PRInt64 *_retval) = 0;

  /* AString getBuildInfo (); */
  NS_IMETHOD GetBuildInfo(nsAString & _retval) = 0;

  /* AString getStartTime (); */
  NS_IMETHOD GetStartTime(nsAString & _retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKISYSTEMINFO \
  NS_IMETHOD GetCPU(PRInt32 *_retval); \
  NS_IMETHOD GetMem(PRInt64 *_retval); \
  NS_IMETHOD GetBuildInfo(nsAString & _retval); \
  NS_IMETHOD GetStartTime(nsAString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKISYSTEMINFO(_to) \
  NS_IMETHOD GetCPU(PRInt32 *_retval) { return _to GetCPU(_retval); } \
  NS_IMETHOD GetMem(PRInt64 *_retval) { return _to GetMem(_retval); } \
  NS_IMETHOD GetBuildInfo(nsAString & _retval) { return _to GetBuildInfo(_retval); } \
  NS_IMETHOD GetStartTime(nsAString & _retval) { return _to GetStartTime(_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_FLOCKISYSTEMINFO(_to) \
  NS_IMETHOD GetCPU(PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCPU(_retval); } \
  NS_IMETHOD GetMem(PRInt64 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMem(_retval); } \
  NS_IMETHOD GetBuildInfo(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBuildInfo(_retval); } \
  NS_IMETHOD GetStartTime(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartTime(_retval); } 

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

/* Header file */
class _MYCLASS_ : public flockISystemInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKISYSTEMINFO

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* PRInt32 getCPU (); */
NS_IMETHODIMP _MYCLASS_::GetCPU(PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* PRInt64 getMem (); */
NS_IMETHODIMP _MYCLASS_::GetMem(PRInt64 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

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

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

#define FLOCK_SYSTEMINFO_CID { 0x7386b0e1, 0x1a16, 0x46aa, { 0x9e, 0x8c, 0xe5, 0x11, 0x10, 0x76, 0x13, 0xeb } }
#define FLOCK_SYSTEMINFO_CLASSNAME "Flock System Info"
#define FLOCK_SYSTEMINFO_CONTRACTID "@flock.com/sysinfo;1"

#endif /* __gen_flockISystemInfo_h__ */
