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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsISecureBrowserUI.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/netwerk/base/public/nsISecureBrowserUI.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsISecureBrowserUI_h__
           6                 : #define __gen_nsISecureBrowserUI_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 nsIDOMWindow; /* forward declaration */
          18                 :
          19                 : class nsIDOMElement; /* forward declaration */
          20                 :
          21                 :
          22                 : /* starting interface:    nsISecureBrowserUI */
          23                 : #define NS_ISECUREBROWSERUI_IID_STR "081e31e0-a144-11d3-8c7c-00609792278c"
          24                 :
          25                 : #define NS_ISECUREBROWSERUI_IID \
          26                 :   {0x081e31e0, 0xa144, 0x11d3, \
          27                 :     { 0x8c, 0x7c, 0x00, 0x60, 0x97, 0x92, 0x27, 0x8c }}
          28                 :
          29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsISecureBrowserUI : public nsISupports {
          30                 :  public:
          31                 :
          32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISECUREBROWSERUI_IID)
          33                 :
          34                 :   /* void init (in nsIDOMWindow window); */
          35                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *window) = 0;
          36                 :
          37                 :   /* readonly attribute unsigned long state; */
          38                 :   NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState) = 0;
          39                 :
          40                 :   /* readonly attribute AString tooltipText; */
          41                 :   NS_SCRIPTABLE NS_IMETHOD GetTooltipText(nsAString & aTooltipText) = 0;
          42                 :
          43                 : };
          44                 :
          45                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISecureBrowserUI, NS_ISECUREBROWSERUI_IID)
          46                 :
          47                 : /* Use this macro when declaring classes that implement this interface. */
          48                 : #define NS_DECL_NSISECUREBROWSERUI \
          49                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *window); \
          50                 :   NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState); \
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetTooltipText(nsAString & aTooltipText);
          52                 :
          53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          54                 : #define NS_FORWARD_NSISECUREBROWSERUI(_to) \
          55                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *window) { return _to Init(window); } \
          56                 :   NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState) { return _to GetState(aState); } \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetTooltipText(nsAString & aTooltipText) { return _to GetTooltipText(aTooltipText); }
          58                 :
          59                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          60                 : #define NS_FORWARD_SAFE_NSISECUREBROWSERUI(_to) \
          61                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *window) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(window); } \
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetState(PRUint32 *aState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetTooltipText(nsAString & aTooltipText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTooltipText(aTooltipText); }
          64                 :
          65                 : #if 0
          66                 : /* Use the code below as a template for the implementation class for this interface. */
          67                 :
          68                 : /* Header file */
          69                 : class nsSecureBrowserUI : public nsISecureBrowserUI
          70                 : {
          71                 : public:
          72                 :   NS_DECL_ISUPPORTS
          73                 :   NS_DECL_NSISECUREBROWSERUI
          74                 :
          75                 :   nsSecureBrowserUI();
          76                 :
          77                 : private:
          78                 :   ~nsSecureBrowserUI();
          79                 :
          80                 : protected:
          81                 :   /* additional members */
          82                 : };
          83                 :
          84                 : /* Implementation file */
          85                 : NS_IMPL_ISUPPORTS1(nsSecureBrowserUI, nsISecureBrowserUI)
          86                 :
          87                 : nsSecureBrowserUI::nsSecureBrowserUI()
          88                 : {
          89                 :   /* member initializers and constructor code */
          90                 : }
          91                 :
          92                 : nsSecureBrowserUI::~nsSecureBrowserUI()
          93                 : {
          94                 :   /* destructor code */
          95                 : }
          96                 :
          97                 : /* void init (in nsIDOMWindow window); */
          98                 : NS_IMETHODIMP nsSecureBrowserUI::Init(nsIDOMWindow *window)
          99                 : {
         100                 :     return NS_ERROR_NOT_IMPLEMENTED;
         101                 : }
         102                 :
         103                 : /* readonly attribute unsigned long state; */
         104                 : NS_IMETHODIMP nsSecureBrowserUI::GetState(PRUint32 *aState)
         105                 : {
         106                 :     return NS_ERROR_NOT_IMPLEMENTED;
         107                 : }
         108                 :
         109                 : /* readonly attribute AString tooltipText; */
         110                 : NS_IMETHODIMP nsSecureBrowserUI::GetTooltipText(nsAString & aTooltipText)
         111                 : {
         112                 :     return NS_ERROR_NOT_IMPLEMENTED;
         113                 : }
         114                 :
         115                 : /* End of implementation class template. */
         116                 : #endif
         117                 :
         118                 : #define NS_SECURE_BROWSER_UI_CONTRACTID "@mozilla.org/secure_browser_ui;1"
         119                 : #define NS_SECURE_BROWSER_UI_CLASSNAME "Mozilla Secure Browser UI Handler"
         120                 :
         121                 : #endif /* __gen_nsISecureBrowserUI_h__ */

Generated by: LCOV version 1.7