LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDocumentLoader.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/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           8 : class NS_NO_VTABLE nsIDocumentLoader : public nsISupports {
      36             :  public:
      37             : 
      38             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCUMENTLOADER_IID)
      39             : 
      40             :   /* void stop (); */
      41             :   NS_IMETHOD Stop(void) = 0;
      42             : 
      43             :   /* readonly attribute nsISupports container; */
      44             :   NS_IMETHOD GetContainer(nsISupports * *aContainer) = 0;
      45             : 
      46             :   /* readonly attribute nsILoadGroup loadGroup; */
      47             :   NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) = 0;
      48             : 
      49             :   /* readonly attribute nsIChannel documentChannel; */
      50             :   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_IMETHOD Stop(void) override; \
      59             :   NS_IMETHOD GetContainer(nsISupports * *aContainer) override; \
      60             :   NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) override; \
      61             :   NS_IMETHOD GetDocumentChannel(nsIChannel * *aDocumentChannel) override; 
      62             : 
      63             : /* Use this macro when declaring the members of this interface when the
      64             :    class doesn't implement the interface. This is useful for forwarding. */
      65             : #define NS_DECL_NON_VIRTUAL_NSIDOCUMENTLOADER \
      66             :   nsresult Stop(void); \
      67             :   nsresult GetContainer(nsISupports * *aContainer); \
      68             :   nsresult GetLoadGroup(nsILoadGroup * *aLoadGroup); \
      69             :   nsresult GetDocumentChannel(nsIChannel * *aDocumentChannel); 
      70             : 
      71             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      72             : #define NS_FORWARD_NSIDOCUMENTLOADER(_to) \
      73             :   NS_IMETHOD Stop(void) override { return _to Stop(); } \
      74             :   NS_IMETHOD GetContainer(nsISupports * *aContainer) override { return _to GetContainer(aContainer); } \
      75             :   NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) override { return _to GetLoadGroup(aLoadGroup); } \
      76             :   NS_IMETHOD GetDocumentChannel(nsIChannel * *aDocumentChannel) override { return _to GetDocumentChannel(aDocumentChannel); } 
      77             : 
      78             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      79             : #define NS_FORWARD_SAFE_NSIDOCUMENTLOADER(_to) \
      80             :   NS_IMETHOD Stop(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); } \
      81             :   NS_IMETHOD GetContainer(nsISupports * *aContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContainer(aContainer); } \
      82             :   NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLoadGroup(aLoadGroup); } \
      83             :   NS_IMETHOD GetDocumentChannel(nsIChannel * *aDocumentChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentChannel(aDocumentChannel); } 
      84             : 
      85             : #if 0
      86             : /* Use the code below as a template for the implementation class for this interface. */
      87             : 
      88             : /* Header file */
      89             : class nsDocumentLoader : public nsIDocumentLoader
      90             : {
      91             : public:
      92             :   NS_DECL_ISUPPORTS
      93             :   NS_DECL_NSIDOCUMENTLOADER
      94             : 
      95             :   nsDocumentLoader();
      96             : 
      97             : private:
      98             :   ~nsDocumentLoader();
      99             : 
     100             : protected:
     101             :   /* additional members */
     102             : };
     103             : 
     104             : /* Implementation file */
     105             : NS_IMPL_ISUPPORTS(nsDocumentLoader, nsIDocumentLoader)
     106             : 
     107             : nsDocumentLoader::nsDocumentLoader()
     108             : {
     109             :   /* member initializers and constructor code */
     110             : }
     111             : 
     112             : nsDocumentLoader::~nsDocumentLoader()
     113             : {
     114             :   /* destructor code */
     115             : }
     116             : 
     117             : /* void stop (); */
     118             : NS_IMETHODIMP nsDocumentLoader::Stop()
     119             : {
     120             :     return NS_ERROR_NOT_IMPLEMENTED;
     121             : }
     122             : 
     123             : /* readonly attribute nsISupports container; */
     124             : NS_IMETHODIMP nsDocumentLoader::GetContainer(nsISupports * *aContainer)
     125             : {
     126             :     return NS_ERROR_NOT_IMPLEMENTED;
     127             : }
     128             : 
     129             : /* readonly attribute nsILoadGroup loadGroup; */
     130             : NS_IMETHODIMP nsDocumentLoader::GetLoadGroup(nsILoadGroup * *aLoadGroup)
     131             : {
     132             :     return NS_ERROR_NOT_IMPLEMENTED;
     133             : }
     134             : 
     135             : /* readonly attribute nsIChannel documentChannel; */
     136             : NS_IMETHODIMP nsDocumentLoader::GetDocumentChannel(nsIChannel * *aDocumentChannel)
     137             : {
     138             :     return NS_ERROR_NOT_IMPLEMENTED;
     139             : }
     140             : 
     141             : /* End of implementation class template. */
     142             : #endif
     143             : 
     144             : 
     145             : #endif /* __gen_nsIDocumentLoader_h__ */

Generated by: LCOV version 1.13