LCOV - app.info - objdir/dist/include/nsITokenDialogs.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsITokenDialogs.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 1 | 0 | 0.0 %
| Date: | 2012-04-21 | Functions: | 1 | 0 | 0.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/security/manager/ssl/public/nsITokenDialogs.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsITokenDialogs_h__
           6                 : #define __gen_nsITokenDialogs_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                 : class nsIProtectedAuthThread; /* forward declaration */
          20                 :
          21                 :
          22                 : /* starting interface:    nsITokenDialogs */
          23                 : #define NS_ITOKENDIALOGS_IID_STR "a1cbc159-468c-495d-8068-61dd538cbcca"
          24                 :
          25                 : #define NS_ITOKENDIALOGS_IID \
          26                 :   {0xa1cbc159, 0x468c, 0x495d, \
          27                 :     { 0x80, 0x68, 0x61, 0xdd, 0x53, 0x8c, 0xbc, 0xca }}
          28                 :
          29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsITokenDialogs : public nsISupports {
          30                 :  public:
          31                 :
          32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITOKENDIALOGS_IID)
          33                 :
          34                 :   /* void ChooseToken (in nsIInterfaceRequestor ctx, [array, size_is (count)] in wstring tokenNameList, in unsigned long count, out wstring tokenName, out boolean canceled); */
          35                 :   NS_SCRIPTABLE NS_IMETHOD ChooseToken(nsIInterfaceRequestor *ctx, const PRUnichar * *tokenNameList, PRUint32 count, PRUnichar * *tokenName NS_OUTPARAM, bool *canceled NS_OUTPARAM) = 0;
          36                 :
          37                 :   /* void displayProtectedAuth (in nsIInterfaceRequestor ctx, in nsIProtectedAuthThread runnable); */
          38                 :   NS_SCRIPTABLE NS_IMETHOD DisplayProtectedAuth(nsIInterfaceRequestor *ctx, nsIProtectedAuthThread *runnable) = 0;
          39                 :
          40                 : };
          41                 :
          42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsITokenDialogs, NS_ITOKENDIALOGS_IID)
          43                 :
          44                 : /* Use this macro when declaring classes that implement this interface. */
          45                 : #define NS_DECL_NSITOKENDIALOGS \
          46                 :   NS_SCRIPTABLE NS_IMETHOD ChooseToken(nsIInterfaceRequestor *ctx, const PRUnichar * *tokenNameList, PRUint32 count, PRUnichar * *tokenName NS_OUTPARAM, bool *canceled NS_OUTPARAM); \
          47                 :   NS_SCRIPTABLE NS_IMETHOD DisplayProtectedAuth(nsIInterfaceRequestor *ctx, nsIProtectedAuthThread *runnable);
          48                 :
          49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          50                 : #define NS_FORWARD_NSITOKENDIALOGS(_to) \
          51                 :   NS_SCRIPTABLE NS_IMETHOD ChooseToken(nsIInterfaceRequestor *ctx, const PRUnichar * *tokenNameList, PRUint32 count, PRUnichar * *tokenName NS_OUTPARAM, bool *canceled NS_OUTPARAM) { return _to ChooseToken(ctx, tokenNameList, count, tokenName, canceled); } \
          52                 :   NS_SCRIPTABLE NS_IMETHOD DisplayProtectedAuth(nsIInterfaceRequestor *ctx, nsIProtectedAuthThread *runnable) { return _to DisplayProtectedAuth(ctx, runnable); }
          53                 :
          54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          55                 : #define NS_FORWARD_SAFE_NSITOKENDIALOGS(_to) \
          56                 :   NS_SCRIPTABLE NS_IMETHOD ChooseToken(nsIInterfaceRequestor *ctx, const PRUnichar * *tokenNameList, PRUint32 count, PRUnichar * *tokenName NS_OUTPARAM, bool *canceled NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChooseToken(ctx, tokenNameList, count, tokenName, canceled); } \
          57                 :   NS_SCRIPTABLE NS_IMETHOD DisplayProtectedAuth(nsIInterfaceRequestor *ctx, nsIProtectedAuthThread *runnable) { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayProtectedAuth(ctx, runnable); }
          58                 :
          59                 : #if 0
          60                 : /* Use the code below as a template for the implementation class for this interface. */
          61                 :
          62                 : /* Header file */
          63                 : class nsTokenDialogs : public nsITokenDialogs
          64                 : {
          65                 : public:
          66                 :   NS_DECL_ISUPPORTS
          67                 :   NS_DECL_NSITOKENDIALOGS
          68                 :
          69                 :   nsTokenDialogs();
          70                 :
          71                 : private:
          72                 :   ~nsTokenDialogs();
          73                 :
          74                 : protected:
          75                 :   /* additional members */
          76                 : };
          77                 :
          78                 : /* Implementation file */
          79                 : NS_IMPL_ISUPPORTS1(nsTokenDialogs, nsITokenDialogs)
          80                 :
          81                 : nsTokenDialogs::nsTokenDialogs()
          82                 : {
          83                 :   /* member initializers and constructor code */
          84                 : }
          85                 :
          86                 : nsTokenDialogs::~nsTokenDialogs()
          87                 : {
          88                 :   /* destructor code */
          89                 : }
          90                 :
          91                 : /* void ChooseToken (in nsIInterfaceRequestor ctx, [array, size_is (count)] in wstring tokenNameList, in unsigned long count, out wstring tokenName, out boolean canceled); */
          92                 : NS_IMETHODIMP nsTokenDialogs::ChooseToken(nsIInterfaceRequestor *ctx, const PRUnichar * *tokenNameList, PRUint32 count, PRUnichar * *tokenName NS_OUTPARAM, bool *canceled NS_OUTPARAM)
          93                 : {
          94                 :     return NS_ERROR_NOT_IMPLEMENTED;
          95                 : }
          96                 :
          97                 : /* void displayProtectedAuth (in nsIInterfaceRequestor ctx, in nsIProtectedAuthThread runnable); */
          98                 : NS_IMETHODIMP nsTokenDialogs::DisplayProtectedAuth(nsIInterfaceRequestor *ctx, nsIProtectedAuthThread *runnable)
          99                 : {
         100                 :     return NS_ERROR_NOT_IMPLEMENTED;
         101                 : }
         102                 :
         103                 : /* End of implementation class template. */
         104                 : #endif
         105                 :
         106                 : #define NS_TOKENDIALOGS_CONTRACTID "@mozilla.org/nsTokenDialogs;1"
         107                 :
         108                 : #endif /* __gen_nsITokenDialogs_h__ */

Generated by: LCOV version 1.7