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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIWebPageDescriptor.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/docshell/base/nsIWebPageDescriptor.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIWebPageDescriptor_h__
           6                 : #define __gen_nsIWebPageDescriptor_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:    nsIWebPageDescriptor */
          19                 : #define NS_IWEBPAGEDESCRIPTOR_IID_STR "6f30b676-3710-4c2c-80b1-0395fb26516e"
          20                 :
          21                 : #define NS_IWEBPAGEDESCRIPTOR_IID \
          22                 :   {0x6f30b676, 0x3710, 0x4c2c, \
          23                 :     { 0x80, 0xb1, 0x03, 0x95, 0xfb, 0x26, 0x51, 0x6e }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWebPageDescriptor : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBPAGEDESCRIPTOR_IID)
          29                 :
          30                 :   enum {
          31                 :     DISPLAY_AS_SOURCE = 1U,
          32                 :     DISPLAY_NORMAL = 2U
          33                 :   };
          34                 :
          35                 :   /* void loadPage (in nsISupports aPageDescriptor, in unsigned long aDisplayType); */
          36                 :   NS_SCRIPTABLE NS_IMETHOD LoadPage(nsISupports *aPageDescriptor, PRUint32 aDisplayType) = 0;
          37                 :
          38                 :   /* readonly attribute nsISupports currentDescriptor; */
          39                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentDescriptor(nsISupports * *aCurrentDescriptor) = 0;
          40                 :
          41                 : };
          42                 :
          43                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebPageDescriptor, NS_IWEBPAGEDESCRIPTOR_IID)
          44                 :
          45                 : /* Use this macro when declaring classes that implement this interface. */
          46                 : #define NS_DECL_NSIWEBPAGEDESCRIPTOR \
          47                 :   NS_SCRIPTABLE NS_IMETHOD LoadPage(nsISupports *aPageDescriptor, PRUint32 aDisplayType); \
          48                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentDescriptor(nsISupports * *aCurrentDescriptor);
          49                 :
          50                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          51                 : #define NS_FORWARD_NSIWEBPAGEDESCRIPTOR(_to) \
          52                 :   NS_SCRIPTABLE NS_IMETHOD LoadPage(nsISupports *aPageDescriptor, PRUint32 aDisplayType) { return _to LoadPage(aPageDescriptor, aDisplayType); } \
          53                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentDescriptor(nsISupports * *aCurrentDescriptor) { return _to GetCurrentDescriptor(aCurrentDescriptor); }
          54                 :
          55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          56                 : #define NS_FORWARD_SAFE_NSIWEBPAGEDESCRIPTOR(_to) \
          57                 :   NS_SCRIPTABLE NS_IMETHOD LoadPage(nsISupports *aPageDescriptor, PRUint32 aDisplayType) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadPage(aPageDescriptor, aDisplayType); } \
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentDescriptor(nsISupports * *aCurrentDescriptor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentDescriptor(aCurrentDescriptor); }
          59                 :
          60                 : #if 0
          61                 : /* Use the code below as a template for the implementation class for this interface. */
          62                 :
          63                 : /* Header file */
          64                 : class nsWebPageDescriptor : public nsIWebPageDescriptor
          65                 : {
          66                 : public:
          67                 :   NS_DECL_ISUPPORTS
          68                 :   NS_DECL_NSIWEBPAGEDESCRIPTOR
          69                 :
          70                 :   nsWebPageDescriptor();
          71                 :
          72                 : private:
          73                 :   ~nsWebPageDescriptor();
          74                 :
          75                 : protected:
          76                 :   /* additional members */
          77                 : };
          78                 :
          79                 : /* Implementation file */
          80                 : NS_IMPL_ISUPPORTS1(nsWebPageDescriptor, nsIWebPageDescriptor)
          81                 :
          82                 : nsWebPageDescriptor::nsWebPageDescriptor()
          83                 : {
          84                 :   /* member initializers and constructor code */
          85                 : }
          86                 :
          87                 : nsWebPageDescriptor::~nsWebPageDescriptor()
          88                 : {
          89                 :   /* destructor code */
          90                 : }
          91                 :
          92                 : /* void loadPage (in nsISupports aPageDescriptor, in unsigned long aDisplayType); */
          93                 : NS_IMETHODIMP nsWebPageDescriptor::LoadPage(nsISupports *aPageDescriptor, PRUint32 aDisplayType)
          94                 : {
          95                 :     return NS_ERROR_NOT_IMPLEMENTED;
          96                 : }
          97                 :
          98                 : /* readonly attribute nsISupports currentDescriptor; */
          99                 : NS_IMETHODIMP nsWebPageDescriptor::GetCurrentDescriptor(nsISupports * *aCurrentDescriptor)
         100                 : {
         101                 :     return NS_ERROR_NOT_IMPLEMENTED;
         102                 : }
         103                 :
         104                 : /* End of implementation class template. */
         105                 : #endif
         106                 :
         107                 :
         108                 : #endif /* __gen_nsIWebPageDescriptor_h__ */

Generated by: LCOV version 1.7