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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/uriloader/base/nsIDocumentLoader.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDocumentLoader_h__
           6                 : #define __gen_nsIDocumentLoader_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 nsILoadGroup; /* forward declaration */
          18                 :
          19                 : class nsIChannel; /* forward declaration */
          20                 :
          21                 : class nsIURI; /* forward declaration */
          22                 :
          23                 : class nsIWebProgress; /* forward declaration */
          24                 :
          25                 : class nsIRequest; /* forward declaration */
          26                 :
          27                 :
          28                 : /* starting interface:    nsIDocumentLoader */
          29                 : #define NS_IDOCUMENTLOADER_IID_STR "bbe961ee-59e9-42bb-be50-0331979bb79f"
          30                 :
          31                 : #define NS_IDOCUMENTLOADER_IID \
          32                 :   {0xbbe961ee, 0x59e9, 0x42bb, \
          33                 :     { 0xbe, 0x50, 0x03, 0x31, 0x97, 0x9b, 0xb7, 0x9f }}
          34                 :
          35            1404 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDocumentLoader : public nsISupports {
          36                 :  public:
          37                 :
          38                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCUMENTLOADER_IID)
          39                 :
          40                 :   /* void stop (); */
          41                 :   NS_SCRIPTABLE NS_IMETHOD Stop(void) = 0;
          42                 :
          43                 :   /* readonly attribute nsISupports container; */
          44                 :   NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer) = 0;
          45                 :
          46                 :   /* readonly attribute nsILoadGroup loadGroup; */
          47                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) = 0;
          48                 :
          49                 :   /* readonly attribute nsIChannel documentChannel; */
          50                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentChannel(nsIChannel * *aDocumentChannel) = 0;
          51                 :
          52                 : };
          53                 :
          54                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDocumentLoader, NS_IDOCUMENTLOADER_IID)
          55                 :
          56                 : /* Use this macro when declaring classes that implement this interface. */
          57                 : #define NS_DECL_NSIDOCUMENTLOADER \
          58                 :   NS_SCRIPTABLE NS_IMETHOD Stop(void); \
          59                 :   NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer); \
          60                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup); \
          61                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentChannel(nsIChannel * *aDocumentChannel);
          62                 :
          63                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          64                 : #define NS_FORWARD_NSIDOCUMENTLOADER(_to) \
          65                 :   NS_SCRIPTABLE NS_IMETHOD Stop(void) { return _to Stop(); } \
          66                 :   NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer) { return _to GetContainer(aContainer); } \
          67                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) { return _to GetLoadGroup(aLoadGroup); } \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentChannel(nsIChannel * *aDocumentChannel) { return _to GetDocumentChannel(aDocumentChannel); }
          69                 :
          70                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          71                 : #define NS_FORWARD_SAFE_NSIDOCUMENTLOADER(_to) \
          72                 :   NS_SCRIPTABLE NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \
          73                 :   NS_SCRIPTABLE NS_IMETHOD GetContainer(nsISupports * *aContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContainer(aContainer); } \
          74                 :   NS_SCRIPTABLE NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadGroup(aLoadGroup); } \
          75                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentChannel(nsIChannel * *aDocumentChannel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentChannel(aDocumentChannel); }
          76                 :
          77                 : #if 0
          78                 : /* Use the code below as a template for the implementation class for this interface. */
          79                 :
          80                 : /* Header file */
          81                 : class nsDocumentLoader : public nsIDocumentLoader
          82                 : {
          83                 : public:
          84                 :   NS_DECL_ISUPPORTS
          85                 :   NS_DECL_NSIDOCUMENTLOADER
          86                 :
          87                 :   nsDocumentLoader();
          88                 :
          89                 : private:
          90                 :   ~nsDocumentLoader();
          91                 :
          92                 : protected:
          93                 :   /* additional members */
          94                 : };
          95                 :
          96                 : /* Implementation file */
          97                 : NS_IMPL_ISUPPORTS1(nsDocumentLoader, nsIDocumentLoader)
          98                 :
          99                 : nsDocumentLoader::nsDocumentLoader()
         100                 : {
         101                 :   /* member initializers and constructor code */
         102                 : }
         103                 :
         104                 : nsDocumentLoader::~nsDocumentLoader()
         105                 : {
         106                 :   /* destructor code */
         107                 : }
         108                 :
         109                 : /* void stop (); */
         110                 : NS_IMETHODIMP nsDocumentLoader::Stop()
         111                 : {
         112                 :     return NS_ERROR_NOT_IMPLEMENTED;
         113                 : }
         114                 :
         115                 : /* readonly attribute nsISupports container; */
         116                 : NS_IMETHODIMP nsDocumentLoader::GetContainer(nsISupports * *aContainer)
         117                 : {
         118                 :     return NS_ERROR_NOT_IMPLEMENTED;
         119                 : }
         120                 :
         121                 : /* readonly attribute nsILoadGroup loadGroup; */
         122                 : NS_IMETHODIMP nsDocumentLoader::GetLoadGroup(nsILoadGroup * *aLoadGroup)
         123                 : {
         124                 :     return NS_ERROR_NOT_IMPLEMENTED;
         125                 : }
         126                 :
         127                 : /* readonly attribute nsIChannel documentChannel; */
         128                 : NS_IMETHODIMP nsDocumentLoader::GetDocumentChannel(nsIChannel * *aDocumentChannel)
         129                 : {
         130                 :     return NS_ERROR_NOT_IMPLEMENTED;
         131                 : }
         132                 :
         133                 : /* End of implementation class template. */
         134                 : #endif
         135                 :
         136                 :
         137                 : #endif /* __gen_nsIDocumentLoader_h__ */

Generated by: LCOV version 1.7