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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/embedding/browser/webBrowser/nsIWebBrowserSetup.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIWebBrowserSetup_h__
       6                 : #define __gen_nsIWebBrowserSetup_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                 : 
      18                 : /* starting interface:    nsIWebBrowserSetup */
      19                 : #define NS_IWEBBROWSERSETUP_IID_STR "f15398a0-8018-11d3-af70-00a024ffc08c"
      20                 : 
      21                 : #define NS_IWEBBROWSERSETUP_IID \
      22                 :   {0xf15398a0, 0x8018, 0x11d3, \
      23                 :     { 0xaf, 0x70, 0x00, 0xa0, 0x24, 0xff, 0xc0, 0x8c }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWebBrowserSetup : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBBROWSERSETUP_IID)
      29                 : 
      30                 :   enum {
      31                 :     SETUP_ALLOW_PLUGINS = 1U,
      32                 :     SETUP_ALLOW_JAVASCRIPT = 2U,
      33                 :     SETUP_ALLOW_META_REDIRECTS = 3U,
      34                 :     SETUP_ALLOW_SUBFRAMES = 4U,
      35                 :     SETUP_ALLOW_IMAGES = 5U,
      36                 :     SETUP_FOCUS_DOC_BEFORE_CONTENT = 6U,
      37                 :     SETUP_USE_GLOBAL_HISTORY = 256U,
      38                 :     SETUP_IS_CHROME_WRAPPER = 7U,
      39                 :     SETUP_ALLOW_DNS_PREFETCH = 8U
      40                 :   };
      41                 : 
      42                 :   /* void setProperty (in unsigned long aId, in unsigned long aValue); */
      43                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(PRUint32 aId, PRUint32 aValue) = 0;
      44                 : 
      45                 : };
      46                 : 
      47                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebBrowserSetup, NS_IWEBBROWSERSETUP_IID)
      48                 : 
      49                 : /* Use this macro when declaring classes that implement this interface. */
      50                 : #define NS_DECL_NSIWEBBROWSERSETUP \
      51                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(PRUint32 aId, PRUint32 aValue); 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54                 : #define NS_FORWARD_NSIWEBBROWSERSETUP(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(PRUint32 aId, PRUint32 aValue) { return _to SetProperty(aId, aValue); } 
      56                 : 
      57                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      58                 : #define NS_FORWARD_SAFE_NSIWEBBROWSERSETUP(_to) \
      59                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(PRUint32 aId, PRUint32 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(aId, aValue); } 
      60                 : 
      61                 : #if 0
      62                 : /* Use the code below as a template for the implementation class for this interface. */
      63                 : 
      64                 : /* Header file */
      65                 : class nsWebBrowserSetup : public nsIWebBrowserSetup
      66                 : {
      67                 : public:
      68                 :   NS_DECL_ISUPPORTS
      69                 :   NS_DECL_NSIWEBBROWSERSETUP
      70                 : 
      71                 :   nsWebBrowserSetup();
      72                 : 
      73                 : private:
      74                 :   ~nsWebBrowserSetup();
      75                 : 
      76                 : protected:
      77                 :   /* additional members */
      78                 : };
      79                 : 
      80                 : /* Implementation file */
      81                 : NS_IMPL_ISUPPORTS1(nsWebBrowserSetup, nsIWebBrowserSetup)
      82                 : 
      83                 : nsWebBrowserSetup::nsWebBrowserSetup()
      84                 : {
      85                 :   /* member initializers and constructor code */
      86                 : }
      87                 : 
      88                 : nsWebBrowserSetup::~nsWebBrowserSetup()
      89                 : {
      90                 :   /* destructor code */
      91                 : }
      92                 : 
      93                 : /* void setProperty (in unsigned long aId, in unsigned long aValue); */
      94                 : NS_IMETHODIMP nsWebBrowserSetup::SetProperty(PRUint32 aId, PRUint32 aValue)
      95                 : {
      96                 :     return NS_ERROR_NOT_IMPLEMENTED;
      97                 : }
      98                 : 
      99                 : /* End of implementation class template. */
     100                 : #endif
     101                 : 
     102                 : 
     103                 : #endif /* __gen_nsIWebBrowserSetup_h__ */

Generated by: LCOV version 1.7