LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIRDFXMLParser.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/nsIRDFXMLParser.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIRDFXMLParser_h__
       6             : #define __gen_nsIRDFXMLParser_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIRDFDataSource_h__
      14             : #include "nsIRDFDataSource.h"
      15             : #endif
      16             : 
      17             : #ifndef __gen_nsIStreamListener_h__
      18             : #include "nsIStreamListener.h"
      19             : #endif
      20             : 
      21             : #ifndef __gen_nsIURI_h__
      22             : #include "nsIURI.h"
      23             : #endif
      24             : 
      25             : /* For IDL files that don't want to include root IDL files. */
      26             : #ifndef NS_NO_VTABLE
      27             : #define NS_NO_VTABLE
      28             : #endif
      29             : 
      30             : /* starting interface:    nsIRDFXMLParser */
      31             : #define NS_IRDFXMLPARSER_IID_STR "1831dd2e-1dd2-11b2-bdb3-86b7b50b70b5"
      32             : 
      33             : #define NS_IRDFXMLPARSER_IID \
      34             :   {0x1831dd2e, 0x1dd2, 0x11b2, \
      35             :     { 0xbd, 0xb3, 0x86, 0xb7, 0xb5, 0x0b, 0x70, 0xb5 }}
      36             : 
      37           0 : class NS_NO_VTABLE nsIRDFXMLParser : public nsISupports {
      38             :  public:
      39             : 
      40             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFXMLPARSER_IID)
      41             : 
      42             :   /* nsIStreamListener parseAsync (in nsIRDFDataSource aSink, in nsIURI aBaseURI); */
      43             :   NS_IMETHOD ParseAsync(nsIRDFDataSource *aSink, nsIURI *aBaseURI, nsIStreamListener * *_retval) = 0;
      44             : 
      45             :   /* void parseString (in nsIRDFDataSource aSink, in nsIURI aBaseURI, in AUTF8String aSource); */
      46             :   NS_IMETHOD ParseString(nsIRDFDataSource *aSink, nsIURI *aBaseURI, const nsACString & aSource) = 0;
      47             : 
      48             : };
      49             : 
      50             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFXMLParser, NS_IRDFXMLPARSER_IID)
      51             : 
      52             : /* Use this macro when declaring classes that implement this interface. */
      53             : #define NS_DECL_NSIRDFXMLPARSER \
      54             :   NS_IMETHOD ParseAsync(nsIRDFDataSource *aSink, nsIURI *aBaseURI, nsIStreamListener * *_retval) override; \
      55             :   NS_IMETHOD ParseString(nsIRDFDataSource *aSink, nsIURI *aBaseURI, const nsACString & aSource) 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_NSIRDFXMLPARSER \
      60             :   nsresult ParseAsync(nsIRDFDataSource *aSink, nsIURI *aBaseURI, nsIStreamListener * *_retval); \
      61             :   nsresult ParseString(nsIRDFDataSource *aSink, nsIURI *aBaseURI, const nsACString & aSource); 
      62             : 
      63             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      64             : #define NS_FORWARD_NSIRDFXMLPARSER(_to) \
      65             :   NS_IMETHOD ParseAsync(nsIRDFDataSource *aSink, nsIURI *aBaseURI, nsIStreamListener * *_retval) override { return _to ParseAsync(aSink, aBaseURI, _retval); } \
      66             :   NS_IMETHOD ParseString(nsIRDFDataSource *aSink, nsIURI *aBaseURI, const nsACString & aSource) override { return _to ParseString(aSink, aBaseURI, aSource); } 
      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_NSIRDFXMLPARSER(_to) \
      70             :   NS_IMETHOD ParseAsync(nsIRDFDataSource *aSink, nsIURI *aBaseURI, nsIStreamListener * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseAsync(aSink, aBaseURI, _retval); } \
      71             :   NS_IMETHOD ParseString(nsIRDFDataSource *aSink, nsIURI *aBaseURI, const nsACString & aSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseString(aSink, aBaseURI, aSource); } 
      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 nsRDFXMLParser : public nsIRDFXMLParser
      78             : {
      79             : public:
      80             :   NS_DECL_ISUPPORTS
      81             :   NS_DECL_NSIRDFXMLPARSER
      82             : 
      83             :   nsRDFXMLParser();
      84             : 
      85             : private:
      86             :   ~nsRDFXMLParser();
      87             : 
      88             : protected:
      89             :   /* additional members */
      90             : };
      91             : 
      92             : /* Implementation file */
      93             : NS_IMPL_ISUPPORTS(nsRDFXMLParser, nsIRDFXMLParser)
      94             : 
      95             : nsRDFXMLParser::nsRDFXMLParser()
      96             : {
      97             :   /* member initializers and constructor code */
      98             : }
      99             : 
     100             : nsRDFXMLParser::~nsRDFXMLParser()
     101             : {
     102             :   /* destructor code */
     103             : }
     104             : 
     105             : /* nsIStreamListener parseAsync (in nsIRDFDataSource aSink, in nsIURI aBaseURI); */
     106             : NS_IMETHODIMP nsRDFXMLParser::ParseAsync(nsIRDFDataSource *aSink, nsIURI *aBaseURI, nsIStreamListener * *_retval)
     107             : {
     108             :     return NS_ERROR_NOT_IMPLEMENTED;
     109             : }
     110             : 
     111             : /* void parseString (in nsIRDFDataSource aSink, in nsIURI aBaseURI, in AUTF8String aSource); */
     112             : NS_IMETHODIMP nsRDFXMLParser::ParseString(nsIRDFDataSource *aSink, nsIURI *aBaseURI, const nsACString & aSource)
     113             : {
     114             :     return NS_ERROR_NOT_IMPLEMENTED;
     115             : }
     116             : 
     117             : /* End of implementation class template. */
     118             : #endif
     119             : 
     120             : 
     121             : #endif /* __gen_nsIRDFXMLParser_h__ */

Generated by: LCOV version 1.13