LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIExtendedExpatSink.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/nsIExtendedExpatSink.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIExtendedExpatSink_h__
       6             : #define __gen_nsIExtendedExpatSink_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIExpatSink_h__
      10             : #include "nsIExpatSink.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:    nsIExtendedExpatSink */
      19             : #define NS_IEXTENDEDEXPATSINK_IID_STR "5e3e4f0c-7b77-47ca-a7c5-a3d87f2a9c82"
      20             : 
      21             : #define NS_IEXTENDEDEXPATSINK_IID \
      22             :   {0x5e3e4f0c, 0x7b77, 0x47ca, \
      23             :     { 0xa7, 0xc5, 0xa3, 0xd8, 0x7f, 0x2a, 0x9c, 0x82 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIExtendedExpatSink : public nsIExpatSink {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXTENDEDEXPATSINK_IID)
      29             : 
      30             :   /* void handleStartDTD (in wstring aDoctypeName, in wstring aSysid, in wstring aPubid); */
      31             :   NS_IMETHOD HandleStartDTD(const char16_t * aDoctypeName, const char16_t * aSysid, const char16_t * aPubid) = 0;
      32             : 
      33             :   /* void handleStartNamespaceDecl (in wstring aPrefix, in wstring aUri); */
      34             :   NS_IMETHOD HandleStartNamespaceDecl(const char16_t * aPrefix, const char16_t * aUri) = 0;
      35             : 
      36             :   /* void handleEndNamespaceDecl (in wstring aPrefix); */
      37             :   NS_IMETHOD HandleEndNamespaceDecl(const char16_t * aPrefix) = 0;
      38             : 
      39             :   /* void handleNotationDecl (in wstring aNotationName, in wstring aSysid, in wstring aPubid); */
      40             :   NS_IMETHOD HandleNotationDecl(const char16_t * aNotationName, const char16_t * aSysid, const char16_t * aPubid) = 0;
      41             : 
      42             :   /* void handleUnparsedEntityDecl (in wstring aName, in wstring aSysid, in wstring aPubid, in wstring aNotationName); */
      43             :   NS_IMETHOD HandleUnparsedEntityDecl(const char16_t * aName, const char16_t * aSysid, const char16_t * aPubid, const char16_t * aNotationName) = 0;
      44             : 
      45             : };
      46             : 
      47             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIExtendedExpatSink, NS_IEXTENDEDEXPATSINK_IID)
      48             : 
      49             : /* Use this macro when declaring classes that implement this interface. */
      50             : #define NS_DECL_NSIEXTENDEDEXPATSINK \
      51             :   NS_IMETHOD HandleStartDTD(const char16_t * aDoctypeName, const char16_t * aSysid, const char16_t * aPubid) override; \
      52             :   NS_IMETHOD HandleStartNamespaceDecl(const char16_t * aPrefix, const char16_t * aUri) override; \
      53             :   NS_IMETHOD HandleEndNamespaceDecl(const char16_t * aPrefix) override; \
      54             :   NS_IMETHOD HandleNotationDecl(const char16_t * aNotationName, const char16_t * aSysid, const char16_t * aPubid) override; \
      55             :   NS_IMETHOD HandleUnparsedEntityDecl(const char16_t * aName, const char16_t * aSysid, const char16_t * aPubid, const char16_t * aNotationName) override; 
      56             : 
      57             : /* Use this macro when declaring the members of this interface when the
      58             :    class doesn't implement the interface. This is useful for forwarding. */
      59             : #define NS_DECL_NON_VIRTUAL_NSIEXTENDEDEXPATSINK \
      60             :   nsresult HandleStartDTD(const char16_t * aDoctypeName, const char16_t * aSysid, const char16_t * aPubid); \
      61             :   nsresult HandleStartNamespaceDecl(const char16_t * aPrefix, const char16_t * aUri); \
      62             :   nsresult HandleEndNamespaceDecl(const char16_t * aPrefix); \
      63             :   nsresult HandleNotationDecl(const char16_t * aNotationName, const char16_t * aSysid, const char16_t * aPubid); \
      64             :   nsresult HandleUnparsedEntityDecl(const char16_t * aName, const char16_t * aSysid, const char16_t * aPubid, const char16_t * aNotationName); 
      65             : 
      66             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      67             : #define NS_FORWARD_NSIEXTENDEDEXPATSINK(_to) \
      68             :   NS_IMETHOD HandleStartDTD(const char16_t * aDoctypeName, const char16_t * aSysid, const char16_t * aPubid) override { return _to HandleStartDTD(aDoctypeName, aSysid, aPubid); } \
      69             :   NS_IMETHOD HandleStartNamespaceDecl(const char16_t * aPrefix, const char16_t * aUri) override { return _to HandleStartNamespaceDecl(aPrefix, aUri); } \
      70             :   NS_IMETHOD HandleEndNamespaceDecl(const char16_t * aPrefix) override { return _to HandleEndNamespaceDecl(aPrefix); } \
      71             :   NS_IMETHOD HandleNotationDecl(const char16_t * aNotationName, const char16_t * aSysid, const char16_t * aPubid) override { return _to HandleNotationDecl(aNotationName, aSysid, aPubid); } \
      72             :   NS_IMETHOD HandleUnparsedEntityDecl(const char16_t * aName, const char16_t * aSysid, const char16_t * aPubid, const char16_t * aNotationName) override { return _to HandleUnparsedEntityDecl(aName, aSysid, aPubid, aNotationName); } 
      73             : 
      74             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75             : #define NS_FORWARD_SAFE_NSIEXTENDEDEXPATSINK(_to) \
      76             :   NS_IMETHOD HandleStartDTD(const char16_t * aDoctypeName, const char16_t * aSysid, const char16_t * aPubid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleStartDTD(aDoctypeName, aSysid, aPubid); } \
      77             :   NS_IMETHOD HandleStartNamespaceDecl(const char16_t * aPrefix, const char16_t * aUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleStartNamespaceDecl(aPrefix, aUri); } \
      78             :   NS_IMETHOD HandleEndNamespaceDecl(const char16_t * aPrefix) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleEndNamespaceDecl(aPrefix); } \
      79             :   NS_IMETHOD HandleNotationDecl(const char16_t * aNotationName, const char16_t * aSysid, const char16_t * aPubid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleNotationDecl(aNotationName, aSysid, aPubid); } \
      80             :   NS_IMETHOD HandleUnparsedEntityDecl(const char16_t * aName, const char16_t * aSysid, const char16_t * aPubid, const char16_t * aNotationName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HandleUnparsedEntityDecl(aName, aSysid, aPubid, aNotationName); } 
      81             : 
      82             : #if 0
      83             : /* Use the code below as a template for the implementation class for this interface. */
      84             : 
      85             : /* Header file */
      86             : class nsExtendedExpatSink : public nsIExtendedExpatSink
      87             : {
      88             : public:
      89             :   NS_DECL_ISUPPORTS
      90             :   NS_DECL_NSIEXTENDEDEXPATSINK
      91             : 
      92             :   nsExtendedExpatSink();
      93             : 
      94             : private:
      95             :   ~nsExtendedExpatSink();
      96             : 
      97             : protected:
      98             :   /* additional members */
      99             : };
     100             : 
     101             : /* Implementation file */
     102             : NS_IMPL_ISUPPORTS(nsExtendedExpatSink, nsIExtendedExpatSink)
     103             : 
     104             : nsExtendedExpatSink::nsExtendedExpatSink()
     105             : {
     106             :   /* member initializers and constructor code */
     107             : }
     108             : 
     109             : nsExtendedExpatSink::~nsExtendedExpatSink()
     110             : {
     111             :   /* destructor code */
     112             : }
     113             : 
     114             : /* void handleStartDTD (in wstring aDoctypeName, in wstring aSysid, in wstring aPubid); */
     115             : NS_IMETHODIMP nsExtendedExpatSink::HandleStartDTD(const char16_t * aDoctypeName, const char16_t * aSysid, const char16_t * aPubid)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* void handleStartNamespaceDecl (in wstring aPrefix, in wstring aUri); */
     121             : NS_IMETHODIMP nsExtendedExpatSink::HandleStartNamespaceDecl(const char16_t * aPrefix, const char16_t * aUri)
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : 
     126             : /* void handleEndNamespaceDecl (in wstring aPrefix); */
     127             : NS_IMETHODIMP nsExtendedExpatSink::HandleEndNamespaceDecl(const char16_t * aPrefix)
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : 
     132             : /* void handleNotationDecl (in wstring aNotationName, in wstring aSysid, in wstring aPubid); */
     133             : NS_IMETHODIMP nsExtendedExpatSink::HandleNotationDecl(const char16_t * aNotationName, const char16_t * aSysid, const char16_t * aPubid)
     134             : {
     135             :     return NS_ERROR_NOT_IMPLEMENTED;
     136             : }
     137             : 
     138             : /* void handleUnparsedEntityDecl (in wstring aName, in wstring aSysid, in wstring aPubid, in wstring aNotationName); */
     139             : NS_IMETHODIMP nsExtendedExpatSink::HandleUnparsedEntityDecl(const char16_t * aName, const char16_t * aSysid, const char16_t * aPubid, const char16_t * aNotationName)
     140             : {
     141             :     return NS_ERROR_NOT_IMPLEMENTED;
     142             : }
     143             : 
     144             : /* End of implementation class template. */
     145             : #endif
     146             : 
     147             : 
     148             : #endif /* __gen_nsIExtendedExpatSink_h__ */

Generated by: LCOV version 1.13