LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIBadCertListener2.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/nsIBadCertListener2.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIBadCertListener2_h__
       6                 : #define __gen_nsIBadCertListener2_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 nsISSLStatus; /* forward declaration */
      18                 : 
      19                 : class nsIInterfaceRequestor; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsIBadCertListener2 */
      23                 : #define NS_IBADCERTLISTENER2_IID_STR "2c3d268c-ad82-49f3-99aa-e9ffddd7a0dc"
      24                 : 
      25                 : #define NS_IBADCERTLISTENER2_IID \
      26                 :   {0x2c3d268c, 0xad82, 0x49f3, \
      27                 :     { 0x99, 0xaa, 0xe9, 0xff, 0xdd, 0xd7, 0xa0, 0xdc }}
      28                 : 
      29               8 : class NS_NO_VTABLE NS_SCRIPTABLE nsIBadCertListener2 : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IBADCERTLISTENER2_IID)
      33                 : 
      34                 :   /* boolean notifyCertProblem (in nsIInterfaceRequestor socketInfo, in nsISSLStatus status, in AUTF8String targetSite); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD NotifyCertProblem(nsIInterfaceRequestor *socketInfo, nsISSLStatus *status, const nsACString & targetSite, bool *_retval NS_OUTPARAM) = 0;
      36                 : 
      37                 : };
      38                 : 
      39                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIBadCertListener2, NS_IBADCERTLISTENER2_IID)
      40                 : 
      41                 : /* Use this macro when declaring classes that implement this interface. */
      42                 : #define NS_DECL_NSIBADCERTLISTENER2 \
      43                 :   NS_SCRIPTABLE NS_IMETHOD NotifyCertProblem(nsIInterfaceRequestor *socketInfo, nsISSLStatus *status, const nsACString & targetSite, bool *_retval NS_OUTPARAM); 
      44                 : 
      45                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      46                 : #define NS_FORWARD_NSIBADCERTLISTENER2(_to) \
      47                 :   NS_SCRIPTABLE NS_IMETHOD NotifyCertProblem(nsIInterfaceRequestor *socketInfo, nsISSLStatus *status, const nsACString & targetSite, bool *_retval NS_OUTPARAM) { return _to NotifyCertProblem(socketInfo, status, targetSite, _retval); } 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      50                 : #define NS_FORWARD_SAFE_NSIBADCERTLISTENER2(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD NotifyCertProblem(nsIInterfaceRequestor *socketInfo, nsISSLStatus *status, const nsACString & targetSite, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyCertProblem(socketInfo, status, targetSite, _retval); } 
      52                 : 
      53                 : #if 0
      54                 : /* Use the code below as a template for the implementation class for this interface. */
      55                 : 
      56                 : /* Header file */
      57                 : class nsBadCertListener2 : public nsIBadCertListener2
      58                 : {
      59                 : public:
      60                 :   NS_DECL_ISUPPORTS
      61                 :   NS_DECL_NSIBADCERTLISTENER2
      62                 : 
      63                 :   nsBadCertListener2();
      64                 : 
      65                 : private:
      66                 :   ~nsBadCertListener2();
      67                 : 
      68                 : protected:
      69                 :   /* additional members */
      70                 : };
      71                 : 
      72                 : /* Implementation file */
      73                 : NS_IMPL_ISUPPORTS1(nsBadCertListener2, nsIBadCertListener2)
      74                 : 
      75                 : nsBadCertListener2::nsBadCertListener2()
      76                 : {
      77                 :   /* member initializers and constructor code */
      78                 : }
      79                 : 
      80                 : nsBadCertListener2::~nsBadCertListener2()
      81                 : {
      82                 :   /* destructor code */
      83                 : }
      84                 : 
      85                 : /* boolean notifyCertProblem (in nsIInterfaceRequestor socketInfo, in nsISSLStatus status, in AUTF8String targetSite); */
      86                 : NS_IMETHODIMP nsBadCertListener2::NotifyCertProblem(nsIInterfaceRequestor *socketInfo, nsISSLStatus *status, const nsACString & targetSite, bool *_retval NS_OUTPARAM)
      87                 : {
      88                 :     return NS_ERROR_NOT_IMPLEMENTED;
      89                 : }
      90                 : 
      91                 : /* End of implementation class template. */
      92                 : #endif
      93                 : 
      94                 : 
      95                 : #endif /* __gen_nsIBadCertListener2_h__ */

Generated by: LCOV version 1.7