DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

nsINSSVersion

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/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 "a8a53a2b-75cc-4c68-a9bb-9791dbddaa00"

#define NS_INSSVERSION_IID \
  {0xa8a53a2b, 0x75cc, 0x4c68, \
    { 0xa9, 0xbb, 0x97, 0x91, 0xdb, 0xdd, 0xaa, 0x00 }}

class NS_NO_VTABLE nsINSSVersion : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INSSVERSION_IID)

  /* readonly attribute AString NSPR_MinVersion; */
  NS_IMETHOD GetNSPR_MinVersion(nsAString & aNSPR_MinVersion) = 0;

  /* readonly attribute AString NSS_MinVersion; */
  NS_IMETHOD GetNSS_MinVersion(nsAString & aNSS_MinVersion) = 0;

  /* readonly attribute AString NSSUTIL_MinVersion; */
  NS_IMETHOD GetNSSUTIL_MinVersion(nsAString & aNSSUTIL_MinVersion) = 0;

  /* readonly attribute AString NSSSSL_MinVersion; */
  NS_IMETHOD GetNSSSSL_MinVersion(nsAString & aNSSSSL_MinVersion) = 0;

  /* readonly attribute AString NSSSMIME_MinVersion; */
  NS_IMETHOD GetNSSSMIME_MinVersion(nsAString & aNSSSMIME_MinVersion) = 0;

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

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

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

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

  /* readonly attribute AString NSSSMIME_Version; */
  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_IMETHOD GetNSPR_MinVersion(nsAString & aNSPR_MinVersion) override; \
  NS_IMETHOD GetNSS_MinVersion(nsAString & aNSS_MinVersion) override; \
  NS_IMETHOD GetNSSUTIL_MinVersion(nsAString & aNSSUTIL_MinVersion) override; \
  NS_IMETHOD GetNSSSSL_MinVersion(nsAString & aNSSSSL_MinVersion) override; \
  NS_IMETHOD GetNSSSMIME_MinVersion(nsAString & aNSSSMIME_MinVersion) override; \
  NS_IMETHOD GetNSPR_Version(nsAString & aNSPR_Version) override; \
  NS_IMETHOD GetNSS_Version(nsAString & aNSS_Version) override; \
  NS_IMETHOD GetNSSUTIL_Version(nsAString & aNSSUTIL_Version) override; \
  NS_IMETHOD GetNSSSSL_Version(nsAString & aNSSSSL_Version) override; \
  NS_IMETHOD GetNSSSMIME_Version(nsAString & aNSSSMIME_Version) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSINSSVERSION \
  nsresult GetNSPR_MinVersion(nsAString & aNSPR_MinVersion); \
  nsresult GetNSS_MinVersion(nsAString & aNSS_MinVersion); \
  nsresult GetNSSUTIL_MinVersion(nsAString & aNSSUTIL_MinVersion); \
  nsresult GetNSSSSL_MinVersion(nsAString & aNSSSSL_MinVersion); \
  nsresult GetNSSSMIME_MinVersion(nsAString & aNSSSMIME_MinVersion); \
  nsresult GetNSPR_Version(nsAString & aNSPR_Version); \
  nsresult GetNSS_Version(nsAString & aNSS_Version); \
  nsresult GetNSSUTIL_Version(nsAString & aNSSUTIL_Version); \
  nsresult GetNSSSSL_Version(nsAString & aNSSSSL_Version); \
  nsresult 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_IMETHOD GetNSPR_MinVersion(nsAString & aNSPR_MinVersion) override { return _to GetNSPR_MinVersion(aNSPR_MinVersion); } \
  NS_IMETHOD GetNSS_MinVersion(nsAString & aNSS_MinVersion) override { return _to GetNSS_MinVersion(aNSS_MinVersion); } \
  NS_IMETHOD GetNSSUTIL_MinVersion(nsAString & aNSSUTIL_MinVersion) override { return _to GetNSSUTIL_MinVersion(aNSSUTIL_MinVersion); } \
  NS_IMETHOD GetNSSSSL_MinVersion(nsAString & aNSSSSL_MinVersion) override { return _to GetNSSSSL_MinVersion(aNSSSSL_MinVersion); } \
  NS_IMETHOD GetNSSSMIME_MinVersion(nsAString & aNSSSMIME_MinVersion) override { return _to GetNSSSMIME_MinVersion(aNSSSMIME_MinVersion); } \
  NS_IMETHOD GetNSPR_Version(nsAString & aNSPR_Version) override { return _to GetNSPR_Version(aNSPR_Version); } \
  NS_IMETHOD GetNSS_Version(nsAString & aNSS_Version) override { return _to GetNSS_Version(aNSS_Version); } \
  NS_IMETHOD GetNSSUTIL_Version(nsAString & aNSSUTIL_Version) override { return _to GetNSSUTIL_Version(aNSSUTIL_Version); } \
  NS_IMETHOD GetNSSSSL_Version(nsAString & aNSSSSL_Version) override { return _to GetNSSSSL_Version(aNSSSSL_Version); } \
  NS_IMETHOD GetNSSSMIME_Version(nsAString & aNSSSMIME_Version) override { 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_IMETHOD GetNSPR_MinVersion(nsAString & aNSPR_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSPR_MinVersion(aNSPR_MinVersion); } \
  NS_IMETHOD GetNSS_MinVersion(nsAString & aNSS_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSS_MinVersion(aNSS_MinVersion); } \
  NS_IMETHOD GetNSSUTIL_MinVersion(nsAString & aNSSUTIL_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSUTIL_MinVersion(aNSSUTIL_MinVersion); } \
  NS_IMETHOD GetNSSSSL_MinVersion(nsAString & aNSSSSL_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSSL_MinVersion(aNSSSSL_MinVersion); } \
  NS_IMETHOD GetNSSSMIME_MinVersion(nsAString & aNSSSMIME_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSMIME_MinVersion(aNSSSMIME_MinVersion); } \
  NS_IMETHOD GetNSPR_Version(nsAString & aNSPR_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSPR_Version(aNSPR_Version); } \
  NS_IMETHOD GetNSS_Version(nsAString & aNSS_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSS_Version(aNSS_Version); } \
  NS_IMETHOD GetNSSUTIL_Version(nsAString & aNSSUTIL_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSUTIL_Version(aNSSUTIL_Version); } \
  NS_IMETHOD GetNSSSSL_Version(nsAString & aNSSSSL_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSSL_Version(aNSSSSL_Version); } \
  NS_IMETHOD GetNSSSMIME_Version(nsAString & aNSSSMIME_Version) override { 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_ISUPPORTS(nsNSSVersion, nsINSSVersion)

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

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

/* readonly attribute AString NSPR_MinVersion; */
NS_IMETHODIMP nsNSSVersion::GetNSPR_MinVersion(nsAString & aNSPR_MinVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSS_MinVersion; */
NS_IMETHODIMP nsNSSVersion::GetNSS_MinVersion(nsAString & aNSS_MinVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSSUTIL_MinVersion; */
NS_IMETHODIMP nsNSSVersion::GetNSSUTIL_MinVersion(nsAString & aNSSUTIL_MinVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSSSSL_MinVersion; */
NS_IMETHODIMP nsNSSVersion::GetNSSSSL_MinVersion(nsAString & aNSSSSL_MinVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AString NSSSMIME_MinVersion; */
NS_IMETHODIMP nsNSSVersion::GetNSSSMIME_MinVersion(nsAString & aNSSSMIME_MinVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* 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__ */