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

#ifndef __gen_nsISecureSocketInfo_h__
#define __gen_nsISecureSocketInfo_h__

#include "nsISupports.h"


/* starting interface:    nsISecureSocketInfo */
#define NS_ISECURESOCKETINFO_IID_STR "46235840-1dd2-11b2-846e-f26209b20804"

#define NS_ISECURESOCKETINFO_IID \
  {0x46235840, 0x1dd2, 0x11b2, \
    { 0x84, 0x6e, 0xf2, 0x62, 0x09, 0xb2, 0x08, 0x04 }}

class NS_NO_VTABLE nsISecureSocketInfo : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISECURESOCKETINFO_IID)

  /* readonly attribute string hostName; */
  NS_IMETHOD GetHostName(char * *aHostName) = 0;

  /* readonly attribute PRInt32 hostPort; */
  NS_IMETHOD GetHostPort(PRInt32 *aHostPort) = 0;

  /* readonly attribute string proxyName; */
  NS_IMETHOD GetProxyName(char * *aProxyName) = 0;

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

  /* attribute boolean forceHandshake; */
  NS_IMETHOD GetForceHandshake(PRBool *aForceHandshake) = 0;
  NS_IMETHOD SetForceHandshake(PRBool aForceHandshake) = 0;

  /* void proxyStepUp (); */
  NS_IMETHOD ProxyStepUp(void) = 0;

  /* void TLSStepUp (); */
  NS_IMETHOD TLSStepUp(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSISECURESOCKETINFO \
  NS_IMETHOD GetHostName(char * *aHostName); \
  NS_IMETHOD GetHostPort(PRInt32 *aHostPort); \
  NS_IMETHOD GetProxyName(char * *aProxyName); \
  NS_IMETHOD GetProxyPort(PRInt32 *aProxyPort); \
  NS_IMETHOD GetForceHandshake(PRBool *aForceHandshake); \
  NS_IMETHOD SetForceHandshake(PRBool aForceHandshake); \
  NS_IMETHOD ProxyStepUp(void); \
  NS_IMETHOD TLSStepUp(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSISECURESOCKETINFO(_to) \
  NS_IMETHOD GetHostName(char * *aHostName) { return _to ## GetHostName(aHostName); } \
  NS_IMETHOD GetHostPort(PRInt32 *aHostPort) { return _to ## GetHostPort(aHostPort); } \
  NS_IMETHOD GetProxyName(char * *aProxyName) { return _to ## GetProxyName(aProxyName); } \
  NS_IMETHOD GetProxyPort(PRInt32 *aProxyPort) { return _to ## GetProxyPort(aProxyPort); } \
  NS_IMETHOD GetForceHandshake(PRBool *aForceHandshake) { return _to ## GetForceHandshake(aForceHandshake); } \
  NS_IMETHOD SetForceHandshake(PRBool aForceHandshake) { return _to ## SetForceHandshake(aForceHandshake); } \
  NS_IMETHOD ProxyStepUp(void) { return _to ## ProxyStepUp(); } \
  NS_IMETHOD TLSStepUp(void) { return _to ## TLSStepUp(); } 

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

/* Header file */
class nsSecureSocketInfo : public nsISecureSocketInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISECURESOCKETINFO

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsSecureSocketInfo, nsISecureSocketInfo)

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

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

/* readonly attribute string hostName; */
NS_IMETHODIMP nsSecureSocketInfo::GetHostName(char * *aHostName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute PRInt32 hostPort; */
NS_IMETHODIMP nsSecureSocketInfo::GetHostPort(PRInt32 *aHostPort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string proxyName; */
NS_IMETHODIMP nsSecureSocketInfo::GetProxyName(char * *aProxyName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute PRInt32 proxyPort; */
NS_IMETHODIMP nsSecureSocketInfo::GetProxyPort(PRInt32 *aProxyPort)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean forceHandshake; */
NS_IMETHODIMP nsSecureSocketInfo::GetForceHandshake(PRBool *aForceHandshake)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsSecureSocketInfo::SetForceHandshake(PRBool aForceHandshake)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void proxyStepUp (); */
NS_IMETHODIMP nsSecureSocketInfo::ProxyStepUp()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void TLSStepUp (); */
NS_IMETHODIMP nsSecureSocketInfo::TLSStepUp()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsISecureSocketInfo_h__ */
