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

#ifndef __gen_nsIProxy_h__
#define __gen_nsIProxy_h__

#include "nsISupports.h"


/* starting interface:    nsIProxy */
#define NS_IPROXY_IID_STR "0492d011-cd2f-11d2-b013-006097bfc036"

#define NS_IPROXY_IID \
  {0x0492d011, 0xcd2f, 0x11d2, \
    { 0xb0, 0x13, 0x00, 0x60, 0x97, 0xbf, 0xc0, 0x36 }}

class NS_NO_VTABLE nsIProxy : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IPROXY_IID)

  /* attribute string proxyHost; */
  NS_IMETHOD GetProxyHost(char * *aProxyHost) = 0;
  NS_IMETHOD SetProxyHost(const char * aProxyHost) = 0;

  /* attribute long proxyPort; */
  NS_IMETHOD GetProxyPort(PRInt32 *aProxyPort) = 0;
  NS_IMETHOD SetProxyPort(PRInt32 aProxyPort) = 0;

  /* attribute string proxyType; */
  NS_IMETHOD GetProxyType(char * *aProxyType) = 0;
  NS_IMETHOD SetProxyType(const char * aProxyType) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPROXY \
  NS_IMETHOD GetProxyHost(char * *aProxyHost); \
  NS_IMETHOD SetProxyHost(const char * aProxyHost); \
  NS_IMETHOD GetProxyPort(PRInt32 *aProxyPort); \
  NS_IMETHOD SetProxyPort(PRInt32 aProxyPort); \
  NS_IMETHOD GetProxyType(char * *aProxyType); \
  NS_IMETHOD SetProxyType(const char * aProxyType); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPROXY(_to) \
  NS_IMETHOD GetProxyHost(char * *aProxyHost) { return _to ## GetProxyHost(aProxyHost); } \
  NS_IMETHOD SetProxyHost(const char * aProxyHost) { return _to ## SetProxyHost(aProxyHost); } \
  NS_IMETHOD GetProxyPort(PRInt32 *aProxyPort) { return _to ## GetProxyPort(aProxyPort); } \
  NS_IMETHOD SetProxyPort(PRInt32 aProxyPort) { return _to ## SetProxyPort(aProxyPort); } \
  NS_IMETHOD GetProxyType(char * *aProxyType) { return _to ## GetProxyType(aProxyType); } \
  NS_IMETHOD SetProxyType(const char * aProxyType) { return _to ## SetProxyType(aProxyType); } 

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

/* Header file */
class nsProxy : public nsIProxy
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPROXY

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsProxy, nsIProxy)

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

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

/* attribute string proxyHost; */
NS_IMETHODIMP nsProxy::GetProxyHost(char * *aProxyHost)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsProxy::SetProxyHost(const char * aProxyHost)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long proxyPort; */
NS_IMETHODIMP nsProxy::GetProxyPort(PRInt32 *aProxyPort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsProxy::SetProxyPort(PRInt32 aProxyPort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute string proxyType; */
NS_IMETHODIMP nsProxy::GetProxyType(char * *aProxyType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsProxy::SetProxyType(const char * aProxyType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIProxy_h__ */
