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

#ifndef __gen_nsINetUtil_ESR_38_h__
#define __gen_nsINetUtil_ESR_38_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:    nsINetUtil_ESR_38 */
#define NS_INETUTIL_ESR_38_IID_STR "e82f2b9d-8bac-48bb-ade7-26a7cd4fb894"

#define NS_INETUTIL_ESR_38_IID \
  {0xe82f2b9d, 0x8bac, 0x48bb, \
    { 0xad, 0xe7, 0x26, 0xa7, 0xcd, 0x4f, 0xb8, 0x94 }}

class NS_NO_VTABLE nsINetUtil_ESR_38 : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INETUTIL_ESR_38_IID)

  /* AUTF8String parseRequestContentType (in AUTF8String aTypeHeader, out AUTF8String aCharset, out boolean aHadCharset); */
  NS_IMETHOD ParseRequestContentType(const nsACString & aTypeHeader, nsACString & aCharset, bool *aHadCharset, nsACString & _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINetUtil_ESR_38, NS_INETUTIL_ESR_38_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINETUTIL_ESR_38 \
  NS_IMETHOD ParseRequestContentType(const nsACString & aTypeHeader, nsACString & aCharset, bool *aHadCharset, nsACString & _retval) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINETUTIL_ESR_38(_to) \
  NS_IMETHOD ParseRequestContentType(const nsACString & aTypeHeader, nsACString & aCharset, bool *aHadCharset, nsACString & _retval) override { return _to ParseRequestContentType(aTypeHeader, aCharset, aHadCharset, _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_NSINETUTIL_ESR_38(_to) \
  NS_IMETHOD ParseRequestContentType(const nsACString & aTypeHeader, nsACString & aCharset, bool *aHadCharset, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseRequestContentType(aTypeHeader, aCharset, aHadCharset, _retval); } 

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

/* Header file */
class nsNetUtil_ESR_38 : public nsINetUtil_ESR_38
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINETUTIL_ESR_38

  nsNetUtil_ESR_38();

private:
  ~nsNetUtil_ESR_38();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsNetUtil_ESR_38, nsINetUtil_ESR_38)

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

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

/* AUTF8String parseRequestContentType (in AUTF8String aTypeHeader, out AUTF8String aCharset, out boolean aHadCharset); */
NS_IMETHODIMP nsNetUtil_ESR_38::ParseRequestContentType(const nsACString & aTypeHeader, nsACString & aCharset, bool *aHadCharset, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsINetUtil_ESR_38_h__ */
