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

#ifndef __gen_flockIHTML2XHTML_h__
#define __gen_flockIHTML2XHTML_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:    flockIHTML2XHTML */
#define FLOCKIHTML2XHTML_IID_STR "b39bb324-2e4d-4ce6-8342-044db2a293c5"

#define FLOCKIHTML2XHTML_IID \
  {0xb39bb324, 0x2e4d, 0x4ce6, \
    { 0x83, 0x42, 0x04, 0x4d, 0xb2, 0xa2, 0x93, 0xc5 }}

class NS_NO_VTABLE flockIHTML2XHTML : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIHTML2XHTML_IID)

  /* AString convert (in AString html); */
  NS_IMETHOD Convert(const nsAString & html, nsAString & _retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIHTML2XHTML \
  NS_IMETHOD Convert(const nsAString & html, nsAString & _retval); 

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

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

/* Header file */
class _MYCLASS_ : public flockIHTML2XHTML
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIHTML2XHTML

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* AString convert (in AString html); */
NS_IMETHODIMP _MYCLASS_::Convert(const nsAString & html, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIHTML2XHTML_h__ */
