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

#ifndef __gen_IMole_v0_h__
#define __gen_IMole_v0_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:    IMole_v0 */
#define IMOLE_V0_IID_STR "eeae0a51-59a8-4d4d-81bc-dd3bb3fc1264"

#define IMOLE_V0_IID \
  {0xeeae0a51, 0x59a8, 0x4d4d, \
    { 0x81, 0xbc, 0xdd, 0x3b, 0xb3, 0xfc, 0x12, 0x64 }}

class NS_NO_VTABLE IMole_v0 : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(IMOLE_V0_IID)

  /* string service (in string entry); */
  NS_IMETHOD Service(const char *entry, char **_retval) = 0;

  /* void getList (out PRUint32 count, [array, size_is (count), retval] out string str); */
  NS_IMETHOD GetList(PRUint32 *count, char ***str) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMOLE_V0 \
  NS_IMETHOD Service(const char *entry, char **_retval); \
  NS_IMETHOD GetList(PRUint32 *count, char ***str); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMOLE_V0(_to) \
  NS_IMETHOD Service(const char *entry, char **_retval) { return _to Service(entry, _retval); } \
  NS_IMETHOD GetList(PRUint32 *count, char ***str) { return _to GetList(count, str); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_IMOLE_V0(_to) \
  NS_IMETHOD Service(const char *entry, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Service(entry, _retval); } \
  NS_IMETHOD GetList(PRUint32 *count, char ***str) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetList(count, str); } 

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

/* Header file */
class _MYCLASS_ : public IMole_v0
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_IMOLE_V0

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* string service (in string entry); */
NS_IMETHODIMP _MYCLASS_::Service(const char *entry, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getList (out PRUint32 count, [array, size_is (count), retval] out string str); */
NS_IMETHODIMP _MYCLASS_::GetList(PRUint32 *count, char ***str)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_IMole_v0_h__ */
