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

#ifndef __gen_nsIHTTPHeader_h__
#define __gen_nsIHTTPHeader_h__

#include "nsISupports.h"

class nsIAtom; /* forward declaration */


/* starting interface:    nsIHTTPHeader */
#define NS_IHTTPHEADER_IID_STR "a3ec67f0-465a-11d3-9a89-0080c7cb1080"

#define NS_IHTTPHEADER_IID \
  {0xa3ec67f0, 0x465a, 0x11d3, \
    { 0x9a, 0x89, 0x00, 0x80, 0xc7, 0xcb, 0x10, 0x80 }}

class NS_NO_VTABLE nsIHTTPHeader : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IHTTPHEADER_IID)

  /* nsIAtom GetField (); */
  NS_IMETHOD GetField(nsIAtom **_retval) = 0;

  /* string GetFieldName (); */
  NS_IMETHOD GetFieldName(char **_retval) = 0;

  /* string GetValue (); */
  NS_IMETHOD GetValue(char **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIHTTPHEADER \
  NS_IMETHOD GetField(nsIAtom **_retval); \
  NS_IMETHOD GetFieldName(char **_retval); \
  NS_IMETHOD GetValue(char **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIHTTPHEADER(_to) \
  NS_IMETHOD GetField(nsIAtom **_retval) { return _to ## GetField(_retval); } \
  NS_IMETHOD GetFieldName(char **_retval) { return _to ## GetFieldName(_retval); } \
  NS_IMETHOD GetValue(char **_retval) { return _to ## GetValue(_retval); } 

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

/* Header file */
class nsHTTPHeader : public nsIHTTPHeader
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIHTTPHEADER

  nsHTTPHeader();
  virtual ~nsHTTPHeader();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsHTTPHeader, nsIHTTPHeader)

nsHTTPHeader::nsHTTPHeader()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* nsIAtom GetField (); */
NS_IMETHODIMP nsHTTPHeader::GetField(nsIAtom **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string GetFieldName (); */
NS_IMETHODIMP nsHTTPHeader::GetFieldName(char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string GetValue (); */
NS_IMETHODIMP nsHTTPHeader::GetValue(char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIHTTPHeader_h__ */
