LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMDocumentType.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/nsIDOMDocumentType.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMDocumentType_h__
       6             : #define __gen_nsIDOMDocumentType_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMNode_h__
      10             : #include "nsIDOMNode.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:    nsIDOMDocumentType */
      19             : #define NS_IDOMDOCUMENTTYPE_IID_STR "cd7467b9-0f26-4787-a359-66e80ba8db92"
      20             : 
      21             : #define NS_IDOMDOCUMENTTYPE_IID \
      22             :   {0xcd7467b9, 0x0f26, 0x4787, \
      23             :     { 0xa3, 0x59, 0x66, 0xe8, 0x0b, 0xa8, 0xdb, 0x92 }}
      24             : 
      25           1 : class NS_NO_VTABLE nsIDOMDocumentType : public nsIDOMNode {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTTYPE_IID)
      29             : 
      30             :   /* readonly attribute DOMString name; */
      31             :   NS_IMETHOD GetName(nsAString & aName) = 0;
      32             : 
      33             :   /* readonly attribute DOMString publicId; */
      34             :   NS_IMETHOD GetPublicId(nsAString & aPublicId) = 0;
      35             : 
      36             :   /* readonly attribute DOMString systemId; */
      37             :   NS_IMETHOD GetSystemId(nsAString & aSystemId) = 0;
      38             : 
      39             :   /* readonly attribute DOMString internalSubset; */
      40             :   NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDocumentType, NS_IDOMDOCUMENTTYPE_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIDOMDOCUMENTTYPE \
      48             :   NS_IMETHOD GetName(nsAString & aName) override; \
      49             :   NS_IMETHOD GetPublicId(nsAString & aPublicId) override; \
      50             :   NS_IMETHOD GetSystemId(nsAString & aSystemId) override; \
      51             :   NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset) 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_NSIDOMDOCUMENTTYPE \
      56             :   nsresult GetName(nsAString & aName); \
      57             :   nsresult GetPublicId(nsAString & aPublicId); \
      58             :   nsresult GetSystemId(nsAString & aSystemId); \
      59             :   nsresult GetInternalSubset(nsAString & aInternalSubset); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIDOMDOCUMENTTYPE(_to) \
      63             :   NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
      64             :   NS_IMETHOD GetPublicId(nsAString & aPublicId) override { return _to GetPublicId(aPublicId); } \
      65             :   NS_IMETHOD GetSystemId(nsAString & aSystemId) override { return _to GetSystemId(aSystemId); } \
      66             :   NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset) override { return _to GetInternalSubset(aInternalSubset); } 
      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_NSIDOMDOCUMENTTYPE(_to) \
      70             :   NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      71             :   NS_IMETHOD GetPublicId(nsAString & aPublicId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPublicId(aPublicId); } \
      72             :   NS_IMETHOD GetSystemId(nsAString & aSystemId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSystemId(aSystemId); } \
      73             :   NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInternalSubset(aInternalSubset); } 
      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 nsDOMDocumentType : public nsIDOMDocumentType
      80             : {
      81             : public:
      82             :   NS_DECL_ISUPPORTS
      83             :   NS_DECL_NSIDOMDOCUMENTTYPE
      84             : 
      85             :   nsDOMDocumentType();
      86             : 
      87             : private:
      88             :   ~nsDOMDocumentType();
      89             : 
      90             : protected:
      91             :   /* additional members */
      92             : };
      93             : 
      94             : /* Implementation file */
      95             : NS_IMPL_ISUPPORTS(nsDOMDocumentType, nsIDOMDocumentType)
      96             : 
      97             : nsDOMDocumentType::nsDOMDocumentType()
      98             : {
      99             :   /* member initializers and constructor code */
     100             : }
     101             : 
     102             : nsDOMDocumentType::~nsDOMDocumentType()
     103             : {
     104             :   /* destructor code */
     105             : }
     106             : 
     107             : /* readonly attribute DOMString name; */
     108             : NS_IMETHODIMP nsDOMDocumentType::GetName(nsAString & aName)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* readonly attribute DOMString publicId; */
     114             : NS_IMETHODIMP nsDOMDocumentType::GetPublicId(nsAString & aPublicId)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* readonly attribute DOMString systemId; */
     120             : NS_IMETHODIMP nsDOMDocumentType::GetSystemId(nsAString & aSystemId)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* readonly attribute DOMString internalSubset; */
     126             : NS_IMETHODIMP nsDOMDocumentType::GetInternalSubset(nsAString & aInternalSubset)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* End of implementation class template. */
     132             : #endif
     133             : 
     134             : 
     135             : #endif /* __gen_nsIDOMDocumentType_h__ */

Generated by: LCOV version 1.13