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

#ifndef __gen_mozISpellI18NManager_h__
#define __gen_mozISpellI18NManager_h__


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

#ifndef __gen_mozISpellI18NUtil_h__
#include "mozISpellI18NUtil.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:    mozISpellI18NManager */
#define MOZISPELLI18NMANAGER_IID_STR "35d0b5e6-270a-4a95-92b2-384e1806ae83"

#define MOZISPELLI18NMANAGER_IID \
  {0x35d0b5e6, 0x270a, 0x4a95, \
    { 0x92, 0xb2, 0x38, 0x4e, 0x18, 0x06, 0xae, 0x83 }}

/**
  This interface contains various I18N related code used in various places by the spell checker.
*/
class NS_NO_VTABLE mozISpellI18NManager : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(MOZISPELLI18NMANAGER_IID)

  /* mozISpellI18NUtil GetUtil (in wstring language); */
  NS_IMETHOD GetUtil(const PRUnichar *language, mozISpellI18NUtil **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISPELLI18NMANAGER \
  NS_IMETHOD GetUtil(const PRUnichar *language, mozISpellI18NUtil **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISPELLI18NMANAGER(_to) \
  NS_IMETHOD GetUtil(const PRUnichar *language, mozISpellI18NUtil **_retval) { return _to GetUtil(language, _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_MOZISPELLI18NMANAGER(_to) \
  NS_IMETHOD GetUtil(const PRUnichar *language, mozISpellI18NUtil **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUtil(language, _retval); } 

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

/* Header file */
class _MYCLASS_ : public mozISpellI18NManager
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_MOZISPELLI18NMANAGER

  _MYCLASS_();
  virtual ~_MYCLASS_();
  /* additional members */
};

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

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

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

/* mozISpellI18NUtil GetUtil (in wstring language); */
NS_IMETHODIMP _MYCLASS_::GetUtil(const PRUnichar *language, mozISpellI18NUtil **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_mozISpellI18NManager_h__ */
