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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIDocumentLoaderFactory.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/nsIDocumentLoaderFactory.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDocumentLoaderFactory_h__
           6                 : #define __gen_nsIDocumentLoaderFactory_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 nsIChannel; /* forward declaration */
          18                 :
          19                 : class nsIContentViewer; /* forward declaration */
          20                 :
          21                 : class nsIStreamListener; /* forward declaration */
          22                 :
          23                 : class nsIDocument; /* forward declaration */
          24                 :
          25                 : class nsILoadGroup; /* forward declaration */
          26                 :
          27                 : class nsIPrincipal; /* forward declaration */
          28                 :
          29                 :
          30                 : /* starting interface:    nsIDocumentLoaderFactory */
          31                 : #define NS_IDOCUMENTLOADERFACTORY_IID_STR "5e7d2967-5a07-444f-95d5-25b533252d38"
          32                 :
          33                 : #define NS_IDOCUMENTLOADERFACTORY_IID \
          34                 :   {0x5e7d2967, 0x5a07, 0x444f, \
          35                 :     { 0x95, 0xd5, 0x25, 0xb5, 0x33, 0x25, 0x2d, 0x38 }}
          36                 :
          37               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDocumentLoaderFactory : public nsISupports {
          38                 :  public:
          39                 :
          40                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCUMENTLOADERFACTORY_IID)
          41                 :
          42                 :   /* nsIContentViewer createInstance (in string aCommand, in nsIChannel aChannel, in nsILoadGroup aLoadGroup, in string aContentType, in nsISupports aContainer, in nsISupports aExtraInfo, out nsIStreamListener aDocListenerResult); */
          43                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const char * aCommand, nsIChannel *aChannel, nsILoadGroup *aLoadGroup, const char * aContentType, nsISupports *aContainer, nsISupports *aExtraInfo, nsIStreamListener * *aDocListenerResult NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM) = 0;
          44                 :
          45                 :   /* nsIContentViewer createInstanceForDocument (in nsISupports aContainer, in nsIDocument aDocument, in string aCommand); */
          46                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstanceForDocument(nsISupports *aContainer, nsIDocument *aDocument, const char * aCommand, nsIContentViewer * *_retval NS_OUTPARAM) = 0;
          47                 :
          48                 :   /* nsIDocument createBlankDocument (in nsILoadGroup aLoadGroup, in nsIPrincipal aPrincipal); */
          49                 :   NS_SCRIPTABLE NS_IMETHOD CreateBlankDocument(nsILoadGroup *aLoadGroup, nsIPrincipal *aPrincipal, nsIDocument * *_retval NS_OUTPARAM) = 0;
          50                 :
          51                 : };
          52                 :
          53                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDocumentLoaderFactory, NS_IDOCUMENTLOADERFACTORY_IID)
          54                 :
          55                 : /* Use this macro when declaring classes that implement this interface. */
          56                 : #define NS_DECL_NSIDOCUMENTLOADERFACTORY \
          57                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const char * aCommand, nsIChannel *aChannel, nsILoadGroup *aLoadGroup, const char * aContentType, nsISupports *aContainer, nsISupports *aExtraInfo, nsIStreamListener * *aDocListenerResult NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM); \
          58                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstanceForDocument(nsISupports *aContainer, nsIDocument *aDocument, const char * aCommand, nsIContentViewer * *_retval NS_OUTPARAM); \
          59                 :   NS_SCRIPTABLE NS_IMETHOD CreateBlankDocument(nsILoadGroup *aLoadGroup, nsIPrincipal *aPrincipal, nsIDocument * *_retval NS_OUTPARAM);
          60                 :
          61                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          62                 : #define NS_FORWARD_NSIDOCUMENTLOADERFACTORY(_to) \
          63                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const char * aCommand, nsIChannel *aChannel, nsILoadGroup *aLoadGroup, const char * aContentType, nsISupports *aContainer, nsISupports *aExtraInfo, nsIStreamListener * *aDocListenerResult NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM) { return _to CreateInstance(aCommand, aChannel, aLoadGroup, aContentType, aContainer, aExtraInfo, aDocListenerResult, _retval); } \
          64                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstanceForDocument(nsISupports *aContainer, nsIDocument *aDocument, const char * aCommand, nsIContentViewer * *_retval NS_OUTPARAM) { return _to CreateInstanceForDocument(aContainer, aDocument, aCommand, _retval); } \
          65                 :   NS_SCRIPTABLE NS_IMETHOD CreateBlankDocument(nsILoadGroup *aLoadGroup, nsIPrincipal *aPrincipal, nsIDocument * *_retval NS_OUTPARAM) { return _to CreateBlankDocument(aLoadGroup, aPrincipal, _retval); }
          66                 :
          67                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          68                 : #define NS_FORWARD_SAFE_NSIDOCUMENTLOADERFACTORY(_to) \
          69                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstance(const char * aCommand, nsIChannel *aChannel, nsILoadGroup *aLoadGroup, const char * aContentType, nsISupports *aContainer, nsISupports *aExtraInfo, nsIStreamListener * *aDocListenerResult NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateInstance(aCommand, aChannel, aLoadGroup, aContentType, aContainer, aExtraInfo, aDocListenerResult, _retval); } \
          70                 :   NS_SCRIPTABLE NS_IMETHOD CreateInstanceForDocument(nsISupports *aContainer, nsIDocument *aDocument, const char * aCommand, nsIContentViewer * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateInstanceForDocument(aContainer, aDocument, aCommand, _retval); } \
          71                 :   NS_SCRIPTABLE NS_IMETHOD CreateBlankDocument(nsILoadGroup *aLoadGroup, nsIPrincipal *aPrincipal, nsIDocument * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateBlankDocument(aLoadGroup, aPrincipal, _retval); }
          72                 :
          73                 : #if 0
          74                 : /* Use the code below as a template for the implementation class for this interface. */
          75                 :
          76                 : /* Header file */
          77                 : class nsDocumentLoaderFactory : public nsIDocumentLoaderFactory
          78                 : {
          79                 : public:
          80                 :   NS_DECL_ISUPPORTS
          81                 :   NS_DECL_NSIDOCUMENTLOADERFACTORY
          82                 :
          83                 :   nsDocumentLoaderFactory();
          84                 :
          85                 : private:
          86                 :   ~nsDocumentLoaderFactory();
          87                 :
          88                 : protected:
          89                 :   /* additional members */
          90                 : };
          91                 :
          92                 : /* Implementation file */
          93                 : NS_IMPL_ISUPPORTS1(nsDocumentLoaderFactory, nsIDocumentLoaderFactory)
          94                 :
          95                 : nsDocumentLoaderFactory::nsDocumentLoaderFactory()
          96                 : {
          97                 :   /* member initializers and constructor code */
          98                 : }
          99                 :
         100                 : nsDocumentLoaderFactory::~nsDocumentLoaderFactory()
         101                 : {
         102                 :   /* destructor code */
         103                 : }
         104                 :
         105                 : /* nsIContentViewer createInstance (in string aCommand, in nsIChannel aChannel, in nsILoadGroup aLoadGroup, in string aContentType, in nsISupports aContainer, in nsISupports aExtraInfo, out nsIStreamListener aDocListenerResult); */
         106                 : NS_IMETHODIMP nsDocumentLoaderFactory::CreateInstance(const char * aCommand, nsIChannel *aChannel, nsILoadGroup *aLoadGroup, const char * aContentType, nsISupports *aContainer, nsISupports *aExtraInfo, nsIStreamListener * *aDocListenerResult NS_OUTPARAM, nsIContentViewer * *_retval NS_OUTPARAM)
         107                 : {
         108                 :     return NS_ERROR_NOT_IMPLEMENTED;
         109                 : }
         110                 :
         111                 : /* nsIContentViewer createInstanceForDocument (in nsISupports aContainer, in nsIDocument aDocument, in string aCommand); */
         112                 : NS_IMETHODIMP nsDocumentLoaderFactory::CreateInstanceForDocument(nsISupports *aContainer, nsIDocument *aDocument, const char * aCommand, nsIContentViewer * *_retval NS_OUTPARAM)
         113                 : {
         114                 :     return NS_ERROR_NOT_IMPLEMENTED;
         115                 : }
         116                 :
         117                 : /* nsIDocument createBlankDocument (in nsILoadGroup aLoadGroup, in nsIPrincipal aPrincipal); */
         118                 : NS_IMETHODIMP nsDocumentLoaderFactory::CreateBlankDocument(nsILoadGroup *aLoadGroup, nsIPrincipal *aPrincipal, nsIDocument * *_retval NS_OUTPARAM)
         119                 : {
         120                 :     return NS_ERROR_NOT_IMPLEMENTED;
         121                 : }
         122                 :
         123                 : /* End of implementation class template. */
         124                 : #endif
         125                 :
         126                 :
         127                 : #endif /* __gen_nsIDocumentLoaderFactory_h__ */

Generated by: LCOV version 1.7