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

#ifndef __gen_nsINativeUConvService_h__
#define __gen_nsINativeUConvService_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:    nsINativeUConvService */
#define NS_INATIVEUCONVSERVICE_IID_STR "99e23ae8-c334-44de-a208-a7aa6923f8f5"

#define NS_INATIVEUCONVSERVICE_IID \
  {0x99e23ae8, 0xc334, 0x44de, \
    { 0xa2, 0x08, 0xa7, 0xaa, 0x69, 0x23, 0xf8, 0xf5 }}

class NS_NO_VTABLE nsINativeUConvService : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_INATIVEUCONVSERVICE_IID)

  /* nsISupports getNativeUnicodeDecoder (in string from); */
  NS_IMETHOD GetNativeUnicodeDecoder(const char *from, nsISupports **_retval) = 0;

  /* nsISupports getNativeUnicodeEncoder (in string to); */
  NS_IMETHOD GetNativeUnicodeEncoder(const char *to, nsISupports **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINATIVEUCONVSERVICE \
  NS_IMETHOD GetNativeUnicodeDecoder(const char *from, nsISupports **_retval); \
  NS_IMETHOD GetNativeUnicodeEncoder(const char *to, nsISupports **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINATIVEUCONVSERVICE(_to) \
  NS_IMETHOD GetNativeUnicodeDecoder(const char *from, nsISupports **_retval) { return _to GetNativeUnicodeDecoder(from, _retval); } \
  NS_IMETHOD GetNativeUnicodeEncoder(const char *to, nsISupports **_retval) { return _to GetNativeUnicodeEncoder(to, _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_NSINATIVEUCONVSERVICE(_to) \
  NS_IMETHOD GetNativeUnicodeDecoder(const char *from, nsISupports **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNativeUnicodeDecoder(from, _retval); } \
  NS_IMETHOD GetNativeUnicodeEncoder(const char *to, nsISupports **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNativeUnicodeEncoder(to, _retval); } 

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

/* Header file */
class nsNativeUConvService : public nsINativeUConvService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINATIVEUCONVSERVICE

  nsNativeUConvService();

private:
  ~nsNativeUConvService();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsNativeUConvService, nsINativeUConvService)

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

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

/* nsISupports getNativeUnicodeDecoder (in string from); */
NS_IMETHODIMP nsNativeUConvService::GetNativeUnicodeDecoder(const char *from, nsISupports **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISupports getNativeUnicodeEncoder (in string to); */
NS_IMETHODIMP nsNativeUConvService::GetNativeUnicodeEncoder(const char *to, nsISupports **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsINativeUConvService_h__ */
