LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIRDFXMLSerializer.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/nsIRDFXMLSerializer.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIRDFXMLSerializer_h__
       6             : #define __gen_nsIRDFXMLSerializer_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIAtom_h__
      10             : #include "nsIAtom.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsISupports_h__
      14             : #include "nsISupports.h"
      15             : #endif
      16             : 
      17             : #ifndef __gen_nsIRDFDataSource_h__
      18             : #include "nsIRDFDataSource.h"
      19             : #endif
      20             : 
      21             : /* For IDL files that don't want to include root IDL files. */
      22             : #ifndef NS_NO_VTABLE
      23             : #define NS_NO_VTABLE
      24             : #endif
      25             : 
      26             : /* starting interface:    nsIRDFXMLSerializer */
      27             : #define NS_IRDFXMLSERIALIZER_IID_STR "8ae1fbf8-1dd2-11b2-bd21-d728069cca92"
      28             : 
      29             : #define NS_IRDFXMLSERIALIZER_IID \
      30             :   {0x8ae1fbf8, 0x1dd2, 0x11b2, \
      31             :     { 0xbd, 0x21, 0xd7, 0x28, 0x06, 0x9c, 0xca, 0x92 }}
      32             : 
      33           0 : class NS_NO_VTABLE nsIRDFXMLSerializer : public nsISupports {
      34             :  public:
      35             : 
      36             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFXMLSERIALIZER_IID)
      37             : 
      38             :   /* void init (in nsIRDFDataSource aDataSource); */
      39             :   NS_IMETHOD Init(nsIRDFDataSource *aDataSource) = 0;
      40             : 
      41             :   /* void addNameSpace (in nsIAtom aPrefix, in DOMString aURI); */
      42             :   NS_IMETHOD AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI) = 0;
      43             : 
      44             : };
      45             : 
      46             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFXMLSerializer, NS_IRDFXMLSERIALIZER_IID)
      47             : 
      48             : /* Use this macro when declaring classes that implement this interface. */
      49             : #define NS_DECL_NSIRDFXMLSERIALIZER \
      50             :   NS_IMETHOD Init(nsIRDFDataSource *aDataSource) override; \
      51             :   NS_IMETHOD AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI) 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_NSIRDFXMLSERIALIZER \
      56             :   nsresult Init(nsIRDFDataSource *aDataSource); \
      57             :   nsresult AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI); 
      58             : 
      59             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      60             : #define NS_FORWARD_NSIRDFXMLSERIALIZER(_to) \
      61             :   NS_IMETHOD Init(nsIRDFDataSource *aDataSource) override { return _to Init(aDataSource); } \
      62             :   NS_IMETHOD AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI) override { return _to AddNameSpace(aPrefix, aURI); } 
      63             : 
      64             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65             : #define NS_FORWARD_SAFE_NSIRDFXMLSERIALIZER(_to) \
      66             :   NS_IMETHOD Init(nsIRDFDataSource *aDataSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aDataSource); } \
      67             :   NS_IMETHOD AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNameSpace(aPrefix, aURI); } 
      68             : 
      69             : #if 0
      70             : /* Use the code below as a template for the implementation class for this interface. */
      71             : 
      72             : /* Header file */
      73             : class nsRDFXMLSerializer : public nsIRDFXMLSerializer
      74             : {
      75             : public:
      76             :   NS_DECL_ISUPPORTS
      77             :   NS_DECL_NSIRDFXMLSERIALIZER
      78             : 
      79             :   nsRDFXMLSerializer();
      80             : 
      81             : private:
      82             :   ~nsRDFXMLSerializer();
      83             : 
      84             : protected:
      85             :   /* additional members */
      86             : };
      87             : 
      88             : /* Implementation file */
      89             : NS_IMPL_ISUPPORTS(nsRDFXMLSerializer, nsIRDFXMLSerializer)
      90             : 
      91             : nsRDFXMLSerializer::nsRDFXMLSerializer()
      92             : {
      93             :   /* member initializers and constructor code */
      94             : }
      95             : 
      96             : nsRDFXMLSerializer::~nsRDFXMLSerializer()
      97             : {
      98             :   /* destructor code */
      99             : }
     100             : 
     101             : /* void init (in nsIRDFDataSource aDataSource); */
     102             : NS_IMETHODIMP nsRDFXMLSerializer::Init(nsIRDFDataSource *aDataSource)
     103             : {
     104             :     return NS_ERROR_NOT_IMPLEMENTED;
     105             : }
     106             : 
     107             : /* void addNameSpace (in nsIAtom aPrefix, in DOMString aURI); */
     108             : NS_IMETHODIMP nsRDFXMLSerializer::AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* End of implementation class template. */
     114             : #endif
     115             : 
     116             : 
     117             : #endif /* __gen_nsIRDFXMLSerializer_h__ */

Generated by: LCOV version 1.13