michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: %{C++ michael@0: #define NS_NSSVERSION_CONTRACTID "@mozilla.org/security/nssversion;1" michael@0: %} michael@0: michael@0: [scriptable, uuid(a8a53a2b-75cc-4c68-a9bb-9791dbddaa00)] michael@0: interface nsINSSVersion : nsISupports { michael@0: /* Minimal required versions as used at build time */ michael@0: readonly attribute AString NSPR_MinVersion; michael@0: readonly attribute AString NSS_MinVersion; michael@0: readonly attribute AString NSSUTIL_MinVersion; michael@0: readonly attribute AString NSSSSL_MinVersion; michael@0: readonly attribute AString NSSSMIME_MinVersion; michael@0: michael@0: /* Versions of libraries currently in use */ michael@0: readonly attribute AString NSPR_Version; michael@0: readonly attribute AString NSS_Version; michael@0: readonly attribute AString NSSUTIL_Version; michael@0: readonly attribute AString NSSSSL_Version; michael@0: readonly attribute AString NSSSMIME_Version; michael@0: };