LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIX509CertDB2.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsIX509CertDB2.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIX509CertDB2_h__
       6                 : #define __gen_nsIX509CertDB2_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIX509CertList; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIX509CertDB2 */
      21                 : #define NS_IX509CERTDB2_IID_STR "e0df4784-6560-45bf-b1b7-86076a0e8381"
      22                 : 
      23                 : #define NS_IX509CERTDB2_IID \
      24                 :   {0xe0df4784, 0x6560, 0x45bf, \
      25                 :     { 0xb1, 0xb7, 0x86, 0x07, 0x6a, 0x0e, 0x83, 0x81 }}
      26                 : 
      27               4 : class NS_NO_VTABLE NS_SCRIPTABLE nsIX509CertDB2 : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IX509CERTDB2_IID)
      31                 : 
      32                 :   /* void addCertFromBase64 (in string base64, in string aTrust, in string aName); */
      33                 :   NS_SCRIPTABLE NS_IMETHOD AddCertFromBase64(const char * base64, const char * aTrust, const char * aName) = 0;
      34                 : 
      35                 :   /* nsIX509CertList getCerts (); */
      36                 :   NS_SCRIPTABLE NS_IMETHOD GetCerts(nsIX509CertList * *_retval NS_OUTPARAM) = 0;
      37                 : 
      38                 : };
      39                 : 
      40                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIX509CertDB2, NS_IX509CERTDB2_IID)
      41                 : 
      42                 : /* Use this macro when declaring classes that implement this interface. */
      43                 : #define NS_DECL_NSIX509CERTDB2 \
      44                 :   NS_SCRIPTABLE NS_IMETHOD AddCertFromBase64(const char * base64, const char * aTrust, const char * aName); \
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetCerts(nsIX509CertList * *_retval NS_OUTPARAM); 
      46                 : 
      47                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      48                 : #define NS_FORWARD_NSIX509CERTDB2(_to) \
      49                 :   NS_SCRIPTABLE NS_IMETHOD AddCertFromBase64(const char * base64, const char * aTrust, const char * aName) { return _to AddCertFromBase64(base64, aTrust, aName); } \
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetCerts(nsIX509CertList * *_retval NS_OUTPARAM) { return _to GetCerts(_retval); } 
      51                 : 
      52                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      53                 : #define NS_FORWARD_SAFE_NSIX509CERTDB2(_to) \
      54                 :   NS_SCRIPTABLE NS_IMETHOD AddCertFromBase64(const char * base64, const char * aTrust, const char * aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddCertFromBase64(base64, aTrust, aName); } \
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetCerts(nsIX509CertList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCerts(_retval); } 
      56                 : 
      57                 : #if 0
      58                 : /* Use the code below as a template for the implementation class for this interface. */
      59                 : 
      60                 : /* Header file */
      61                 : class nsX509CertDB2 : public nsIX509CertDB2
      62                 : {
      63                 : public:
      64                 :   NS_DECL_ISUPPORTS
      65                 :   NS_DECL_NSIX509CERTDB2
      66                 : 
      67                 :   nsX509CertDB2();
      68                 : 
      69                 : private:
      70                 :   ~nsX509CertDB2();
      71                 : 
      72                 : protected:
      73                 :   /* additional members */
      74                 : };
      75                 : 
      76                 : /* Implementation file */
      77                 : NS_IMPL_ISUPPORTS1(nsX509CertDB2, nsIX509CertDB2)
      78                 : 
      79                 : nsX509CertDB2::nsX509CertDB2()
      80                 : {
      81                 :   /* member initializers and constructor code */
      82                 : }
      83                 : 
      84                 : nsX509CertDB2::~nsX509CertDB2()
      85                 : {
      86                 :   /* destructor code */
      87                 : }
      88                 : 
      89                 : /* void addCertFromBase64 (in string base64, in string aTrust, in string aName); */
      90                 : NS_IMETHODIMP nsX509CertDB2::AddCertFromBase64(const char * base64, const char * aTrust, const char * aName)
      91                 : {
      92                 :     return NS_ERROR_NOT_IMPLEMENTED;
      93                 : }
      94                 : 
      95                 : /* nsIX509CertList getCerts (); */
      96                 : NS_IMETHODIMP nsX509CertDB2::GetCerts(nsIX509CertList * *_retval NS_OUTPARAM)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : 
     101                 : /* End of implementation class template. */
     102                 : #endif
     103                 : 
     104                 : 
     105                 : #endif /* __gen_nsIX509CertDB2_h__ */

Generated by: LCOV version 1.7