LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIRDFXMLSerializer.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/rdf/base/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              19 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRDFXMLSerializer : public nsISupports {
      34                 :  public: 
      35                 : 
      36                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFXMLSERIALIZER_IID)
      37                 : 
      38                 :   /* void init (in nsIRDFDataSource aDataSource); */
      39                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIRDFDataSource *aDataSource) = 0;
      40                 : 
      41                 :   /* void addNameSpace (in nsIAtom aPrefix, in DOMString aURI); */
      42                 :   NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD Init(nsIRDFDataSource *aDataSource); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI); 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54                 : #define NS_FORWARD_NSIRDFXMLSERIALIZER(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIRDFDataSource *aDataSource) { return _to Init(aDataSource); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI) { return _to AddNameSpace(aPrefix, aURI); } 
      57                 : 
      58                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      59                 : #define NS_FORWARD_SAFE_NSIRDFXMLSERIALIZER(_to) \
      60                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIRDFDataSource *aDataSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aDataSource); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNameSpace(aPrefix, aURI); } 
      62                 : 
      63                 : #if 0
      64                 : /* Use the code below as a template for the implementation class for this interface. */
      65                 : 
      66                 : /* Header file */
      67                 : class nsRDFXMLSerializer : public nsIRDFXMLSerializer
      68                 : {
      69                 : public:
      70                 :   NS_DECL_ISUPPORTS
      71                 :   NS_DECL_NSIRDFXMLSERIALIZER
      72                 : 
      73                 :   nsRDFXMLSerializer();
      74                 : 
      75                 : private:
      76                 :   ~nsRDFXMLSerializer();
      77                 : 
      78                 : protected:
      79                 :   /* additional members */
      80                 : };
      81                 : 
      82                 : /* Implementation file */
      83                 : NS_IMPL_ISUPPORTS1(nsRDFXMLSerializer, nsIRDFXMLSerializer)
      84                 : 
      85                 : nsRDFXMLSerializer::nsRDFXMLSerializer()
      86                 : {
      87                 :   /* member initializers and constructor code */
      88                 : }
      89                 : 
      90                 : nsRDFXMLSerializer::~nsRDFXMLSerializer()
      91                 : {
      92                 :   /* destructor code */
      93                 : }
      94                 : 
      95                 : /* void init (in nsIRDFDataSource aDataSource); */
      96                 : NS_IMETHODIMP nsRDFXMLSerializer::Init(nsIRDFDataSource *aDataSource)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : 
     101                 : /* void addNameSpace (in nsIAtom aPrefix, in DOMString aURI); */
     102                 : NS_IMETHODIMP nsRDFXMLSerializer::AddNameSpace(nsIAtom *aPrefix, const nsAString & aURI)
     103                 : {
     104                 :     return NS_ERROR_NOT_IMPLEMENTED;
     105                 : }
     106                 : 
     107                 : /* End of implementation class template. */
     108                 : #endif
     109                 : 
     110                 : 
     111                 : #endif /* __gen_nsIRDFXMLSerializer_h__ */

Generated by: LCOV version 1.7