/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/builds/moz2_slave/m-cen-w32-xr/build/parser/html/nsIParserUtils.idl
 */

#ifndef __gen_nsIParserUtils_h__
#define __gen_nsIParserUtils_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:    nsIParserUtils */
#define NS_IPARSERUTILS_IID_STR "290f49bb-0619-4bda-8006-ab31bec7231a"

#define NS_IPARSERUTILS_IID \
  {0x290f49bb, 0x0619, 0x4bda, \
    { 0x80, 0x06, 0xab, 0x31, 0xbe, 0xc7, 0x23, 0x1a }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIParserUtils : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPARSERUTILS_IID)

  /* AString convertToPlainText (in AString src, in unsigned long flags, in unsigned long wrapCol); */
  NS_SCRIPTABLE NS_IMETHOD ConvertToPlainText(const nsAString & src, PRUint32 flags, PRUint32 wrapCol, nsAString & _retval NS_OUTPARAM) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIParserUtils, NS_IPARSERUTILS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPARSERUTILS \
  NS_SCRIPTABLE NS_IMETHOD ConvertToPlainText(const nsAString & src, PRUint32 flags, PRUint32 wrapCol, nsAString & _retval NS_OUTPARAM); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPARSERUTILS(_to) \
  NS_SCRIPTABLE NS_IMETHOD ConvertToPlainText(const nsAString & src, PRUint32 flags, PRUint32 wrapCol, nsAString & _retval NS_OUTPARAM) { return _to ConvertToPlainText(src, flags, wrapCol, _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_NSIPARSERUTILS(_to) \
  NS_SCRIPTABLE NS_IMETHOD ConvertToPlainText(const nsAString & src, PRUint32 flags, PRUint32 wrapCol, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ConvertToPlainText(src, flags, wrapCol, _retval); } 

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

/* Header file */
class nsParserUtils : public nsIParserUtils
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPARSERUTILS

  nsParserUtils();

private:
  ~nsParserUtils();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsParserUtils, nsIParserUtils)

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

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

/* AString convertToPlainText (in AString src, in unsigned long flags, in unsigned long wrapCol); */
NS_IMETHODIMP nsParserUtils::ConvertToPlainText(const nsAString & src, PRUint32 flags, PRUint32 wrapCol, nsAString & _retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

#define NS_PARSERUTILS_CONTRACTID \
    "@mozilla.org/parserutils;1"
#define NS_PARSERUTILS_CID  \
{ 0xaf7b24cb, 0x893f, 0x41bb, { 0x96, 0x1f, 0x5a, 0x69, 0x38, 0x8e, 0x27, 0xc3 } }

#endif /* __gen_nsIParserUtils_h__ */
