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

#ifndef __gen_nsISimpleMimeConverter_h__
#define __gen_nsISimpleMimeConverter_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:    nsISimpleMimeConverter */
#define NS_ISIMPLEMIMECONVERTER_IID_STR "641da207-c21b-45b0-9c0c-63866c4a66b2"

#define NS_ISIMPLEMIMECONVERTER_IID \
  {0x641da207, 0xc21b, 0x45b0, \
    { 0x9c, 0x0c, 0x63, 0x86, 0x6c, 0x4a, 0x66, 0xb2 }}

class NS_NO_VTABLE nsISimpleMimeConverter : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISIMPLEMIMECONVERTER_IID)

  /* AUTF8String convertToHTML (in ACString contentType, in AUTF8String data); */
  NS_IMETHOD ConvertToHTML(const nsACString & contentType, const nsACString & data, nsACString & _retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISIMPLEMIMECONVERTER \
  NS_IMETHOD ConvertToHTML(const nsACString & contentType, const nsACString & data, nsACString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISIMPLEMIMECONVERTER(_to) \
  NS_IMETHOD ConvertToHTML(const nsACString & contentType, const nsACString & data, nsACString & _retval) { return _to ConvertToHTML(contentType, data, _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_NSISIMPLEMIMECONVERTER(_to) \
  NS_IMETHOD ConvertToHTML(const nsACString & contentType, const nsACString & data, nsACString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ConvertToHTML(contentType, data, _retval); } 

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

/* Header file */
class nsSimpleMimeConverter : public nsISimpleMimeConverter
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISIMPLEMIMECONVERTER

  nsSimpleMimeConverter();

private:
  ~nsSimpleMimeConverter();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsSimpleMimeConverter, nsISimpleMimeConverter)

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

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

/* AUTF8String convertToHTML (in ACString contentType, in AUTF8String data); */
NS_IMETHODIMP nsSimpleMimeConverter::ConvertToHTML(const nsACString & contentType, const nsACString & data, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

#define NS_SIMPLEMIMECONVERTERS_CATEGORY "simple-mime-converters"

#endif /* __gen_nsISimpleMimeConverter_h__ */
