LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsISecureBrowserUI.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/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 mozIDOMWindowProxy; /* forward declaration */
      18             : 
      19             : class nsIDOMElement; /* forward declaration */
      20             : 
      21             : class nsIDocShell; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsISecureBrowserUI */
      25             : #define NS_ISECUREBROWSERUI_IID_STR "718c662a-f810-4a80-a6c9-0b1810ecade2"
      26             : 
      27             : #define NS_ISECUREBROWSERUI_IID \
      28             :   {0x718c662a, 0xf810, 0x4a80, \
      29             :     { 0xa6, 0xc9, 0x0b, 0x18, 0x10, 0xec, 0xad, 0xe2 }}
      30             : 
      31           3 : class NS_NO_VTABLE nsISecureBrowserUI : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISECUREBROWSERUI_IID)
      35             : 
      36             :   /* void init (in mozIDOMWindowProxy window); */
      37             :   NS_IMETHOD Init(mozIDOMWindowProxy *window) = 0;
      38             : 
      39             :   /* void setDocShell (in nsIDocShell docShell); */
      40             :   NS_IMETHOD SetDocShell(nsIDocShell *docShell) = 0;
      41             : 
      42             :   /* readonly attribute unsigned long state; */
      43             :   NS_IMETHOD GetState(uint32_t *aState) = 0;
      44             : 
      45             : };
      46             : 
      47             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISecureBrowserUI, NS_ISECUREBROWSERUI_IID)
      48             : 
      49             : /* Use this macro when declaring classes that implement this interface. */
      50             : #define NS_DECL_NSISECUREBROWSERUI \
      51             :   NS_IMETHOD Init(mozIDOMWindowProxy *window) override; \
      52             :   NS_IMETHOD SetDocShell(nsIDocShell *docShell) override; \
      53             :   NS_IMETHOD GetState(uint32_t *aState) override; 
      54             : 
      55             : /* Use this macro when declaring the members of this interface when the
      56             :    class doesn't implement the interface. This is useful for forwarding. */
      57             : #define NS_DECL_NON_VIRTUAL_NSISECUREBROWSERUI \
      58             :   nsresult Init(mozIDOMWindowProxy *window); \
      59             :   nsresult SetDocShell(nsIDocShell *docShell); \
      60             :   nsresult GetState(uint32_t *aState); 
      61             : 
      62             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      63             : #define NS_FORWARD_NSISECUREBROWSERUI(_to) \
      64             :   NS_IMETHOD Init(mozIDOMWindowProxy *window) override { return _to Init(window); } \
      65             :   NS_IMETHOD SetDocShell(nsIDocShell *docShell) override { return _to SetDocShell(docShell); } \
      66             :   NS_IMETHOD GetState(uint32_t *aState) override { return _to GetState(aState); } 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      69             : #define NS_FORWARD_SAFE_NSISECUREBROWSERUI(_to) \
      70             :   NS_IMETHOD Init(mozIDOMWindowProxy *window) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(window); } \
      71             :   NS_IMETHOD SetDocShell(nsIDocShell *docShell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocShell(docShell); } \
      72             :   NS_IMETHOD GetState(uint32_t *aState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetState(aState); } 
      73             : 
      74             : #if 0
      75             : /* Use the code below as a template for the implementation class for this interface. */
      76             : 
      77             : /* Header file */
      78             : class nsSecureBrowserUI : public nsISecureBrowserUI
      79             : {
      80             : public:
      81             :   NS_DECL_ISUPPORTS
      82             :   NS_DECL_NSISECUREBROWSERUI
      83             : 
      84             :   nsSecureBrowserUI();
      85             : 
      86             : private:
      87             :   ~nsSecureBrowserUI();
      88             : 
      89             : protected:
      90             :   /* additional members */
      91             : };
      92             : 
      93             : /* Implementation file */
      94             : NS_IMPL_ISUPPORTS(nsSecureBrowserUI, nsISecureBrowserUI)
      95             : 
      96             : nsSecureBrowserUI::nsSecureBrowserUI()
      97             : {
      98             :   /* member initializers and constructor code */
      99             : }
     100             : 
     101             : nsSecureBrowserUI::~nsSecureBrowserUI()
     102             : {
     103             :   /* destructor code */
     104             : }
     105             : 
     106             : /* void init (in mozIDOMWindowProxy window); */
     107             : NS_IMETHODIMP nsSecureBrowserUI::Init(mozIDOMWindowProxy *window)
     108             : {
     109             :     return NS_ERROR_NOT_IMPLEMENTED;
     110             : }
     111             : 
     112             : /* void setDocShell (in nsIDocShell docShell); */
     113             : NS_IMETHODIMP nsSecureBrowserUI::SetDocShell(nsIDocShell *docShell)
     114             : {
     115             :     return NS_ERROR_NOT_IMPLEMENTED;
     116             : }
     117             : 
     118             : /* readonly attribute unsigned long state; */
     119             : NS_IMETHODIMP nsSecureBrowserUI::GetState(uint32_t *aState)
     120             : {
     121             :     return NS_ERROR_NOT_IMPLEMENTED;
     122             : }
     123             : 
     124             : /* End of implementation class template. */
     125             : #endif
     126             : 
     127             : #define NS_SECURE_BROWSER_UI_CONTRACTID "@mozilla.org/secure_browser_ui;1"
     128             : 
     129             : #endif /* __gen_nsISecureBrowserUI_h__ */

Generated by: LCOV version 1.13