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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsIClientAuthDialogs.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIClientAuthDialogs_h__
       6                 : #define __gen_nsIClientAuthDialogs_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 nsIInterfaceRequestor; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIClientAuthDialogs */
      21                 : #define NS_ICLIENTAUTHDIALOGS_IID_STR "fa4c7520-1433-11d5-ba24-00108303b117"
      22                 : 
      23                 : #define NS_ICLIENTAUTHDIALOGS_IID \
      24                 :   {0xfa4c7520, 0x1433, 0x11d5, \
      25                 :     { 0xba, 0x24, 0x00, 0x10, 0x83, 0x03, 0xb1, 0x17 }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIClientAuthDialogs : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICLIENTAUTHDIALOGS_IID)
      31                 : 
      32                 :   /* void ChooseCertificate (in nsIInterfaceRequestor ctx, in wstring cn, in wstring organization, in wstring issuer, [array, size_is (count)] in wstring certNickList, [array, size_is (count)] in wstring certDetailsList, in unsigned long count, out long selectedIndex, out boolean canceled); */
      33                 :   NS_SCRIPTABLE NS_IMETHOD ChooseCertificate(nsIInterfaceRequestor *ctx, const PRUnichar * cn, const PRUnichar * organization, const PRUnichar * issuer, const PRUnichar * *certNickList, const PRUnichar * *certDetailsList, PRUint32 count, PRInt32 *selectedIndex NS_OUTPARAM, bool *canceled NS_OUTPARAM) = 0;
      34                 : 
      35                 : };
      36                 : 
      37                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIClientAuthDialogs, NS_ICLIENTAUTHDIALOGS_IID)
      38                 : 
      39                 : /* Use this macro when declaring classes that implement this interface. */
      40                 : #define NS_DECL_NSICLIENTAUTHDIALOGS \
      41                 :   NS_SCRIPTABLE NS_IMETHOD ChooseCertificate(nsIInterfaceRequestor *ctx, const PRUnichar * cn, const PRUnichar * organization, const PRUnichar * issuer, const PRUnichar * *certNickList, const PRUnichar * *certDetailsList, PRUint32 count, PRInt32 *selectedIndex NS_OUTPARAM, bool *canceled NS_OUTPARAM); 
      42                 : 
      43                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      44                 : #define NS_FORWARD_NSICLIENTAUTHDIALOGS(_to) \
      45                 :   NS_SCRIPTABLE NS_IMETHOD ChooseCertificate(nsIInterfaceRequestor *ctx, const PRUnichar * cn, const PRUnichar * organization, const PRUnichar * issuer, const PRUnichar * *certNickList, const PRUnichar * *certDetailsList, PRUint32 count, PRInt32 *selectedIndex NS_OUTPARAM, bool *canceled NS_OUTPARAM) { return _to ChooseCertificate(ctx, cn, organization, issuer, certNickList, certDetailsList, count, selectedIndex, canceled); } 
      46                 : 
      47                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      48                 : #define NS_FORWARD_SAFE_NSICLIENTAUTHDIALOGS(_to) \
      49                 :   NS_SCRIPTABLE NS_IMETHOD ChooseCertificate(nsIInterfaceRequestor *ctx, const PRUnichar * cn, const PRUnichar * organization, const PRUnichar * issuer, const PRUnichar * *certNickList, const PRUnichar * *certDetailsList, PRUint32 count, PRInt32 *selectedIndex NS_OUTPARAM, bool *canceled NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChooseCertificate(ctx, cn, organization, issuer, certNickList, certDetailsList, count, selectedIndex, canceled); } 
      50                 : 
      51                 : #if 0
      52                 : /* Use the code below as a template for the implementation class for this interface. */
      53                 : 
      54                 : /* Header file */
      55                 : class nsClientAuthDialogs : public nsIClientAuthDialogs
      56                 : {
      57                 : public:
      58                 :   NS_DECL_ISUPPORTS
      59                 :   NS_DECL_NSICLIENTAUTHDIALOGS
      60                 : 
      61                 :   nsClientAuthDialogs();
      62                 : 
      63                 : private:
      64                 :   ~nsClientAuthDialogs();
      65                 : 
      66                 : protected:
      67                 :   /* additional members */
      68                 : };
      69                 : 
      70                 : /* Implementation file */
      71                 : NS_IMPL_ISUPPORTS1(nsClientAuthDialogs, nsIClientAuthDialogs)
      72                 : 
      73                 : nsClientAuthDialogs::nsClientAuthDialogs()
      74                 : {
      75                 :   /* member initializers and constructor code */
      76                 : }
      77                 : 
      78                 : nsClientAuthDialogs::~nsClientAuthDialogs()
      79                 : {
      80                 :   /* destructor code */
      81                 : }
      82                 : 
      83                 : /* void ChooseCertificate (in nsIInterfaceRequestor ctx, in wstring cn, in wstring organization, in wstring issuer, [array, size_is (count)] in wstring certNickList, [array, size_is (count)] in wstring certDetailsList, in unsigned long count, out long selectedIndex, out boolean canceled); */
      84                 : NS_IMETHODIMP nsClientAuthDialogs::ChooseCertificate(nsIInterfaceRequestor *ctx, const PRUnichar * cn, const PRUnichar * organization, const PRUnichar * issuer, const PRUnichar * *certNickList, const PRUnichar * *certDetailsList, PRUint32 count, PRInt32 *selectedIndex NS_OUTPARAM, bool *canceled NS_OUTPARAM)
      85                 : {
      86                 :     return NS_ERROR_NOT_IMPLEMENTED;
      87                 : }
      88                 : 
      89                 : /* End of implementation class template. */
      90                 : #endif
      91                 : 
      92                 : 
      93                 : /* starting interface:    nsIClientAuthUserDecision */
      94                 : #define NS_ICLIENTAUTHUSERDECISION_IID_STR "95c4373e-bdd4-4a63-b431-f5b000367721"
      95                 : 
      96                 : #define NS_ICLIENTAUTHUSERDECISION_IID \
      97                 :   {0x95c4373e, 0xbdd4, 0x4a63, \
      98                 :     { 0xb4, 0x31, 0xf5, 0xb0, 0x00, 0x36, 0x77, 0x21 }}
      99                 : 
     100               4 : class NS_NO_VTABLE NS_SCRIPTABLE nsIClientAuthUserDecision : public nsISupports {
     101                 :  public: 
     102                 : 
     103                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICLIENTAUTHUSERDECISION_IID)
     104                 : 
     105                 :   /* attribute boolean rememberClientAuthCertificate; */
     106                 :   NS_SCRIPTABLE NS_IMETHOD GetRememberClientAuthCertificate(bool *aRememberClientAuthCertificate) = 0;
     107                 :   NS_SCRIPTABLE NS_IMETHOD SetRememberClientAuthCertificate(bool aRememberClientAuthCertificate) = 0;
     108                 : 
     109                 : };
     110                 : 
     111                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIClientAuthUserDecision, NS_ICLIENTAUTHUSERDECISION_IID)
     112                 : 
     113                 : /* Use this macro when declaring classes that implement this interface. */
     114                 : #define NS_DECL_NSICLIENTAUTHUSERDECISION \
     115                 :   NS_SCRIPTABLE NS_IMETHOD GetRememberClientAuthCertificate(bool *aRememberClientAuthCertificate); \
     116                 :   NS_SCRIPTABLE NS_IMETHOD SetRememberClientAuthCertificate(bool aRememberClientAuthCertificate); 
     117                 : 
     118                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     119                 : #define NS_FORWARD_NSICLIENTAUTHUSERDECISION(_to) \
     120                 :   NS_SCRIPTABLE NS_IMETHOD GetRememberClientAuthCertificate(bool *aRememberClientAuthCertificate) { return _to GetRememberClientAuthCertificate(aRememberClientAuthCertificate); } \
     121                 :   NS_SCRIPTABLE NS_IMETHOD SetRememberClientAuthCertificate(bool aRememberClientAuthCertificate) { return _to SetRememberClientAuthCertificate(aRememberClientAuthCertificate); } 
     122                 : 
     123                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     124                 : #define NS_FORWARD_SAFE_NSICLIENTAUTHUSERDECISION(_to) \
     125                 :   NS_SCRIPTABLE NS_IMETHOD GetRememberClientAuthCertificate(bool *aRememberClientAuthCertificate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRememberClientAuthCertificate(aRememberClientAuthCertificate); } \
     126                 :   NS_SCRIPTABLE NS_IMETHOD SetRememberClientAuthCertificate(bool aRememberClientAuthCertificate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRememberClientAuthCertificate(aRememberClientAuthCertificate); } 
     127                 : 
     128                 : #if 0
     129                 : /* Use the code below as a template for the implementation class for this interface. */
     130                 : 
     131                 : /* Header file */
     132                 : class nsClientAuthUserDecision : public nsIClientAuthUserDecision
     133                 : {
     134                 : public:
     135                 :   NS_DECL_ISUPPORTS
     136                 :   NS_DECL_NSICLIENTAUTHUSERDECISION
     137                 : 
     138                 :   nsClientAuthUserDecision();
     139                 : 
     140                 : private:
     141                 :   ~nsClientAuthUserDecision();
     142                 : 
     143                 : protected:
     144                 :   /* additional members */
     145                 : };
     146                 : 
     147                 : /* Implementation file */
     148                 : NS_IMPL_ISUPPORTS1(nsClientAuthUserDecision, nsIClientAuthUserDecision)
     149                 : 
     150                 : nsClientAuthUserDecision::nsClientAuthUserDecision()
     151                 : {
     152                 :   /* member initializers and constructor code */
     153                 : }
     154                 : 
     155                 : nsClientAuthUserDecision::~nsClientAuthUserDecision()
     156                 : {
     157                 :   /* destructor code */
     158                 : }
     159                 : 
     160                 : /* attribute boolean rememberClientAuthCertificate; */
     161                 : NS_IMETHODIMP nsClientAuthUserDecision::GetRememberClientAuthCertificate(bool *aRememberClientAuthCertificate)
     162                 : {
     163                 :     return NS_ERROR_NOT_IMPLEMENTED;
     164                 : }
     165                 : NS_IMETHODIMP nsClientAuthUserDecision::SetRememberClientAuthCertificate(bool aRememberClientAuthCertificate)
     166                 : {
     167                 :     return NS_ERROR_NOT_IMPLEMENTED;
     168                 : }
     169                 : 
     170                 : /* End of implementation class template. */
     171                 : #endif
     172                 : 
     173                 : #define NS_CLIENTAUTHDIALOGS_CONTRACTID "@mozilla.org/nsClientAuthDialogs;1"
     174                 : 
     175                 : #endif /* __gen_nsIClientAuthDialogs_h__ */

Generated by: LCOV version 1.7