LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMDOMImplementation.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMDOMImplementation.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMDOMImplementation_h__
       6             : #define __gen_nsIDOMDOMImplementation_h__
       7             : 
       8             : 
       9             : #ifndef __gen_domstubs_h__
      10             : #include "domstubs.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:    nsIDOMDOMImplementation */
      19             : #define NS_IDOMDOMIMPLEMENTATION_IID_STR "03a6f574-99ec-42f8-9e6c-812a4a9bcbf7"
      20             : 
      21             : #define NS_IDOMDOMIMPLEMENTATION_IID \
      22             :   {0x03a6f574, 0x99ec, 0x42f8, \
      23             :     { 0x9e, 0x6c, 0x81, 0x2a, 0x4a, 0x9b, 0xcb, 0xf7 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMDOMImplementation : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDOMIMPLEMENTATION_IID)
      29             : 
      30             :   /* boolean hasFeature (in DOMString feature, in DOMString version); */
      31             :   NS_IMETHOD HasFeature(const nsAString & feature, const nsAString & version, bool *_retval) = 0;
      32             : 
      33             :   /* nsIDOMDocumentType createDocumentType (in DOMString qualifiedName, in DOMString publicId, in DOMString systemId) raises (DOMException); */
      34             :   NS_IMETHOD CreateDocumentType(const nsAString & qualifiedName, const nsAString & publicId, const nsAString & systemId, nsIDOMDocumentType * *_retval) = 0;
      35             : 
      36             :   /* nsIDOMDocument createDocument (in DOMString namespaceURI, in DOMString qualifiedName, in nsIDOMDocumentType doctype) raises (DOMException); */
      37             :   NS_IMETHOD CreateDocument(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMDocumentType *doctype, nsIDOMDocument * *_retval) = 0;
      38             : 
      39             :   /* nsIDOMDocument createHTMLDocument ([Null (Stringify)] in DOMString title); */
      40             :   NS_IMETHOD CreateHTMLDocument(const nsAString & title, nsIDOMDocument * *_retval) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDOMImplementation, NS_IDOMDOMIMPLEMENTATION_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIDOMDOMIMPLEMENTATION \
      48             :   NS_IMETHOD HasFeature(const nsAString & feature, const nsAString & version, bool *_retval) override; \
      49             :   NS_IMETHOD CreateDocumentType(const nsAString & qualifiedName, const nsAString & publicId, const nsAString & systemId, nsIDOMDocumentType * *_retval) override; \
      50             :   NS_IMETHOD CreateDocument(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMDocumentType *doctype, nsIDOMDocument * *_retval) override; \
      51             :   NS_IMETHOD CreateHTMLDocument(const nsAString & title, nsIDOMDocument * *_retval) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIDOMDOMIMPLEMENTATION \
      56             :   nsresult HasFeature(const nsAString & feature, const nsAString & version, bool *_retval); \
      57             :   nsresult CreateDocumentType(const nsAString & qualifiedName, const nsAString & publicId, const nsAString & systemId, nsIDOMDocumentType * *_retval); \
      58             :   nsresult CreateDocument(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMDocumentType *doctype, nsIDOMDocument * *_retval); \
      59             :   nsresult CreateHTMLDocument(const nsAString & title, nsIDOMDocument * *_retval); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIDOMDOMIMPLEMENTATION(_to) \
      63             :   NS_IMETHOD HasFeature(const nsAString & feature, const nsAString & version, bool *_retval) override { return _to HasFeature(feature, version, _retval); } \
      64             :   NS_IMETHOD CreateDocumentType(const nsAString & qualifiedName, const nsAString & publicId, const nsAString & systemId, nsIDOMDocumentType * *_retval) override { return _to CreateDocumentType(qualifiedName, publicId, systemId, _retval); } \
      65             :   NS_IMETHOD CreateDocument(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMDocumentType *doctype, nsIDOMDocument * *_retval) override { return _to CreateDocument(namespaceURI, qualifiedName, doctype, _retval); } \
      66             :   NS_IMETHOD CreateHTMLDocument(const nsAString & title, nsIDOMDocument * *_retval) override { return _to CreateHTMLDocument(title, _retval); } 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      69             : #define NS_FORWARD_SAFE_NSIDOMDOMIMPLEMENTATION(_to) \
      70             :   NS_IMETHOD HasFeature(const nsAString & feature, const nsAString & version, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasFeature(feature, version, _retval); } \
      71             :   NS_IMETHOD CreateDocumentType(const nsAString & qualifiedName, const nsAString & publicId, const nsAString & systemId, nsIDOMDocumentType * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateDocumentType(qualifiedName, publicId, systemId, _retval); } \
      72             :   NS_IMETHOD CreateDocument(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMDocumentType *doctype, nsIDOMDocument * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateDocument(namespaceURI, qualifiedName, doctype, _retval); } \
      73             :   NS_IMETHOD CreateHTMLDocument(const nsAString & title, nsIDOMDocument * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateHTMLDocument(title, _retval); } 
      74             : 
      75             : #if 0
      76             : /* Use the code below as a template for the implementation class for this interface. */
      77             : 
      78             : /* Header file */
      79             : class nsDOMDOMImplementation : public nsIDOMDOMImplementation
      80             : {
      81             : public:
      82             :   NS_DECL_ISUPPORTS
      83             :   NS_DECL_NSIDOMDOMIMPLEMENTATION
      84             : 
      85             :   nsDOMDOMImplementation();
      86             : 
      87             : private:
      88             :   ~nsDOMDOMImplementation();
      89             : 
      90             : protected:
      91             :   /* additional members */
      92             : };
      93             : 
      94             : /* Implementation file */
      95             : NS_IMPL_ISUPPORTS(nsDOMDOMImplementation, nsIDOMDOMImplementation)
      96             : 
      97             : nsDOMDOMImplementation::nsDOMDOMImplementation()
      98             : {
      99             :   /* member initializers and constructor code */
     100             : }
     101             : 
     102             : nsDOMDOMImplementation::~nsDOMDOMImplementation()
     103             : {
     104             :   /* destructor code */
     105             : }
     106             : 
     107             : /* boolean hasFeature (in DOMString feature, in DOMString version); */
     108             : NS_IMETHODIMP nsDOMDOMImplementation::HasFeature(const nsAString & feature, const nsAString & version, bool *_retval)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* nsIDOMDocumentType createDocumentType (in DOMString qualifiedName, in DOMString publicId, in DOMString systemId) raises (DOMException); */
     114             : NS_IMETHODIMP nsDOMDOMImplementation::CreateDocumentType(const nsAString & qualifiedName, const nsAString & publicId, const nsAString & systemId, nsIDOMDocumentType * *_retval)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* nsIDOMDocument createDocument (in DOMString namespaceURI, in DOMString qualifiedName, in nsIDOMDocumentType doctype) raises (DOMException); */
     120             : NS_IMETHODIMP nsDOMDOMImplementation::CreateDocument(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMDocumentType *doctype, nsIDOMDocument * *_retval)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* nsIDOMDocument createHTMLDocument ([Null (Stringify)] in DOMString title); */
     126             : NS_IMETHODIMP nsDOMDOMImplementation::CreateHTMLDocument(const nsAString & title, nsIDOMDocument * *_retval)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* End of implementation class template. */
     132             : #endif
     133             : 
     134             : 
     135             : #endif /* __gen_nsIDOMDOMImplementation_h__ */

Generated by: LCOV version 1.13