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

#ifndef __gen_flockIHTML2TEXT_h__
#define __gen_flockIHTML2TEXT_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:    flockIHTML2TEXT */
#define FLOCKIHTML2TEXT_IID_STR "36bc1614-b769-4684-a61d-73d5c60aa457"

#define FLOCKIHTML2TEXT_IID \
  {0x36bc1614, 0xb769, 0x4684, \
    { 0xa6, 0x1d, 0x73, 0xd5, 0xc6, 0x0a, 0xa4, 0x57 }}

class NS_NO_VTABLE flockIHTML2TEXT : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIHTML2TEXT_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_FLOCKIHTML2TEXT \
  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_FLOCKIHTML2TEXT(_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_FLOCKIHTML2TEXT(_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 flockIHTML2TEXT
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIHTML2TEXT

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

_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_flockIHTML2TEXT_h__ */
