/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/builds/moz2_slave/m-cen-w32-xr/build/security/manager/ssl/public/nsINSSVersion.idl
 */

#ifndef __gen_nsINSSVersion_h__
#define __gen_nsINSSVersion_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
#define NS_NSSVERSION_CONTRACTID "@mozilla.org/security/nssversion;1"

/* starting interface:    nsINSSVersion */
#define NS_INSSVERSION_IID_STR "5f6c8e09-3311-4b24-b0d5-d6e75e7478a4"

#define NS_INSSVERSION_IID \
  {0x5f6c8e09, 0x3311, 0x4b24, \
    { 0xb0, 0xd5, 0xd6, 0xe7, 0x5e, 0x74, 0x78, 0xa4 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsINSSVersion : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INSSVERSION_IID)

  /* readonly attribute AString NSPR_Version; */
  NS_SCRIPTABLE NS_IMETHOD GetNSPR_Version(nsAString & aNSPR_Version) = 0;

  /* readonly attribute AString NSS_Version; */
  NS_SCRIPTABLE NS_IMETHOD GetNSS_Version(nsAString & aNSS_Version) = 0;

  /* readonly attribute AString NSSUTIL_Version; */
  NS_SCRIPTABLE NS_IMETHOD GetNSSUTIL_Version(nsAString & aNSSUTIL_Version) = 0;

  /* readonly attribute AString NSSSSL_Version; */
  NS_SCRIPTABLE NS_IMETHOD GetNSSSSL_Version(nsAString & aNSSSSL_Version) = 0;

  /* readonly attribute AString NSSSMIME_Version; */
  NS_SCRIPTABLE NS_IMETHOD GetNSSSMIME_Version(nsAString & aNSSSMIME_Version) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINSSVersion, NS_INSSVERSION_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINSSVERSION \
  NS_SCRIPTABLE NS_IMETHOD GetNSPR_Version(nsAString & aNSPR_Version); \
  NS_SCRIPTABLE NS_IMETHOD GetNSS_Version(nsAString & aNSS_Version); \
  NS_SCRIPTABLE NS_IMETHOD GetNSSUTIL_Version(nsAString & aNSSUTIL_Version); \
  NS_SCRIPTABLE NS_IMETHOD GetNSSSSL_Version(nsAString & aNSSSSL_Version); \
  NS_SCRIPTABLE NS_IMETHOD GetNSSSMIME_Version(nsAString & aNSSSMIME_Version); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINSSVERSION(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetNSPR_Version(nsAString & aNSPR_Version) { return _to GetNSPR_Version(aNSPR_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSS_Version(nsAString & aNSS_Version) { return _to GetNSS_Version(aNSS_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSSUTIL_Version(nsAString & aNSSUTIL_Version) { return _to GetNSSUTIL_Version(aNSSUTIL_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSSSSL_Version(nsAString & aNSSSSL_Version) { return _to GetNSSSSL_Version(aNSSSSL_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSSSMIME_Version(nsAString & aNSSSMIME_Version) { return _to GetNSSSMIME_Version(aNSSSMIME_Version); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINSSVERSION(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetNSPR_Version(nsAString & aNSPR_Version) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSPR_Version(aNSPR_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSS_Version(nsAString & aNSS_Version) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSS_Version(aNSS_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSSUTIL_Version(nsAString & aNSSUTIL_Version) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSUTIL_Version(aNSSUTIL_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSSSSL_Version(nsAString & aNSSSSL_Version) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSSL_Version(aNSSSSL_Version); } \
  NS_SCRIPTABLE NS_IMETHOD GetNSSSMIME_Version(nsAString & aNSSSMIME_Version) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSMIME_Version(aNSSSMIME_Version); } 

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

/* Header file */
class nsNSSVersion : public nsINSSVersion
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINSSVERSION

  nsNSSVersion();

private:
  ~nsNSSVersion();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsNSSVersion, nsINSSVersion)

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

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

/* readonly attribute AString NSPR_Version; */
NS_IMETHODIMP nsNSSVersion::GetNSPR_Version(nsAString & aNSPR_Version)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSS_Version; */
NS_IMETHODIMP nsNSSVersion::GetNSS_Version(nsAString & aNSS_Version)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSSUTIL_Version; */
NS_IMETHODIMP nsNSSVersion::GetNSSUTIL_Version(nsAString & aNSSUTIL_Version)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSSSSL_Version; */
NS_IMETHODIMP nsNSSVersion::GetNSSSSL_Version(nsAString & aNSSSSL_Version)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSSSMIME_Version; */
NS_IMETHODIMP nsNSSVersion::GetNSSSMIME_Version(nsAString & aNSSSMIME_Version)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsINSSVersion_h__ */
