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

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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mozilla/security/manager/ssl/nsINSSVersion.idl
 */

#ifndef __gen_nsINSSVersion_h__
#define __gen_nsINSSVersion_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/GCAnnotations.h"

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

  /* [must_use] readonly attribute AString NSPR_MinVersion; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSPR_MinVersion(nsAString& aNSPR_MinVersion) = 0;

  /* [must_use] readonly attribute AString NSS_MinVersion; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSS_MinVersion(nsAString& aNSS_MinVersion) = 0;

  /* [must_use] readonly attribute AString NSSUTIL_MinVersion; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_MinVersion(nsAString& aNSSUTIL_MinVersion) = 0;

  /* [must_use] readonly attribute AString NSSSSL_MinVersion; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSSSSL_MinVersion(nsAString& aNSSSSL_MinVersion) = 0;

  /* [must_use] readonly attribute AString NSSSMIME_MinVersion; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSSSMIME_MinVersion(nsAString& aNSSSMIME_MinVersion) = 0;

  /* [must_use] readonly attribute AString NSPR_Version; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSPR_Version(nsAString& aNSPR_Version) = 0;

  /* [must_use] readonly attribute AString NSS_Version; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSS_Version(nsAString& aNSS_Version) = 0;

  /* [must_use] readonly attribute AString NSSUTIL_Version; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_Version(nsAString& aNSSUTIL_Version) = 0;

  /* [must_use] readonly attribute AString NSSSSL_Version; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE NS_IMETHOD GetNSSSSL_Version(nsAString& aNSSSSL_Version) = 0;

  /* [must_use] readonly attribute AString NSSSMIME_Version; */
  JS_HAZ_CAN_RUN_SCRIPT MOZ_MUST_USE 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 \
  MOZ_MUST_USE NS_IMETHOD GetNSPR_MinVersion(nsAString& aNSPR_MinVersion) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSS_MinVersion(nsAString& aNSS_MinVersion) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_MinVersion(nsAString& aNSSUTIL_MinVersion) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSSSSL_MinVersion(nsAString& aNSSSSL_MinVersion) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSSSMIME_MinVersion(nsAString& aNSSSMIME_MinVersion) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSPR_Version(nsAString& aNSPR_Version) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSS_Version(nsAString& aNSS_Version) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_Version(nsAString& aNSSUTIL_Version) override; \
  MOZ_MUST_USE NS_IMETHOD GetNSSSSL_Version(nsAString& aNSSSSL_Version) override; \
  MOZ_MUST_USE 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 \
  MOZ_MUST_USE nsresult GetNSPR_MinVersion(nsAString& aNSPR_MinVersion); \
  MOZ_MUST_USE nsresult GetNSS_MinVersion(nsAString& aNSS_MinVersion); \
  MOZ_MUST_USE nsresult GetNSSUTIL_MinVersion(nsAString& aNSSUTIL_MinVersion); \
  MOZ_MUST_USE nsresult GetNSSSSL_MinVersion(nsAString& aNSSSSL_MinVersion); \
  MOZ_MUST_USE nsresult GetNSSSMIME_MinVersion(nsAString& aNSSSMIME_MinVersion); \
  MOZ_MUST_USE nsresult GetNSPR_Version(nsAString& aNSPR_Version); \
  MOZ_MUST_USE nsresult GetNSS_Version(nsAString& aNSS_Version); \
  MOZ_MUST_USE nsresult GetNSSUTIL_Version(nsAString& aNSSUTIL_Version); \
  MOZ_MUST_USE nsresult GetNSSSSL_Version(nsAString& aNSSSSL_Version); \
  MOZ_MUST_USE 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) \
  MOZ_MUST_USE NS_IMETHOD GetNSPR_MinVersion(nsAString& aNSPR_MinVersion) override { return _to GetNSPR_MinVersion(aNSPR_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSS_MinVersion(nsAString& aNSS_MinVersion) override { return _to GetNSS_MinVersion(aNSS_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_MinVersion(nsAString& aNSSUTIL_MinVersion) override { return _to GetNSSUTIL_MinVersion(aNSSUTIL_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSSSL_MinVersion(nsAString& aNSSSSL_MinVersion) override { return _to GetNSSSSL_MinVersion(aNSSSSL_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSSMIME_MinVersion(nsAString& aNSSSMIME_MinVersion) override { return _to GetNSSSMIME_MinVersion(aNSSSMIME_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSPR_Version(nsAString& aNSPR_Version) override { return _to GetNSPR_Version(aNSPR_Version); } \
  MOZ_MUST_USE NS_IMETHOD GetNSS_Version(nsAString& aNSS_Version) override { return _to GetNSS_Version(aNSS_Version); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_Version(nsAString& aNSSUTIL_Version) override { return _to GetNSSUTIL_Version(aNSSUTIL_Version); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSSSL_Version(nsAString& aNSSSSL_Version) override { return _to GetNSSSSL_Version(aNSSSSL_Version); } \
  MOZ_MUST_USE 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) \
  MOZ_MUST_USE NS_IMETHOD GetNSPR_MinVersion(nsAString& aNSPR_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSPR_MinVersion(aNSPR_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSS_MinVersion(nsAString& aNSS_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSS_MinVersion(aNSS_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_MinVersion(nsAString& aNSSUTIL_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSUTIL_MinVersion(aNSSUTIL_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSSSL_MinVersion(nsAString& aNSSSSL_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSSL_MinVersion(aNSSSSL_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSSMIME_MinVersion(nsAString& aNSSSMIME_MinVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSMIME_MinVersion(aNSSSMIME_MinVersion); } \
  MOZ_MUST_USE NS_IMETHOD GetNSPR_Version(nsAString& aNSPR_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSPR_Version(aNSPR_Version); } \
  MOZ_MUST_USE NS_IMETHOD GetNSS_Version(nsAString& aNSS_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSS_Version(aNSS_Version); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSUTIL_Version(nsAString& aNSSUTIL_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSUTIL_Version(aNSSUTIL_Version); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSSSL_Version(nsAString& aNSSSSL_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSSL_Version(aNSSSSL_Version); } \
  MOZ_MUST_USE NS_IMETHOD GetNSSSMIME_Version(nsAString& aNSSSMIME_Version) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNSSSMIME_Version(aNSSSMIME_Version); } 


#endif /* __gen_nsINSSVersion_h__ */