LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIRDFObserver.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/nsIRDFObserver.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIRDFObserver_h__
       6             : #define __gen_nsIRDFObserver_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIRDFResource_h__
      14             : #include "nsIRDFResource.h"
      15             : #endif
      16             : 
      17             : #ifndef __gen_nsIRDFNode_h__
      18             : #include "nsIRDFNode.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             : class nsIRDFDataSource; /* forward declaration */
      26             : 
      27             : 
      28             : /* starting interface:    nsIRDFObserver */
      29             : #define NS_IRDFOBSERVER_IID_STR "3cc75360-484a-11d2-bc16-00805f912fe7"
      30             : 
      31             : #define NS_IRDFOBSERVER_IID \
      32             :   {0x3cc75360, 0x484a, 0x11d2, \
      33             :     { 0xbc, 0x16, 0x00, 0x80, 0x5f, 0x91, 0x2f, 0xe7 }}
      34             : 
      35           0 : class NS_NO_VTABLE nsIRDFObserver : public nsISupports {
      36             :  public:
      37             : 
      38             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFOBSERVER_IID)
      39             : 
      40             :   /* void onAssert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
      41             :   NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) = 0;
      42             : 
      43             :   /* void onUnassert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
      44             :   NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) = 0;
      45             : 
      46             :   /* void onChange (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget); */
      47             :   NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget) = 0;
      48             : 
      49             :   /* void onMove (in nsIRDFDataSource aDataSource, in nsIRDFResource aOldSource, in nsIRDFResource aNewSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
      50             :   NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) = 0;
      51             : 
      52             :   /* void onBeginUpdateBatch (in nsIRDFDataSource aDataSource); */
      53             :   NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource) = 0;
      54             : 
      55             :   /* void onEndUpdateBatch (in nsIRDFDataSource aDataSource); */
      56             :   NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource) = 0;
      57             : 
      58             : };
      59             : 
      60             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFObserver, NS_IRDFOBSERVER_IID)
      61             : 
      62             : /* Use this macro when declaring classes that implement this interface. */
      63             : #define NS_DECL_NSIRDFOBSERVER \
      64             :   NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override; \
      65             :   NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override; \
      66             :   NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget) override; \
      67             :   NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override; \
      68             :   NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource) override; \
      69             :   NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource) override; 
      70             : 
      71             : /* Use this macro when declaring the members of this interface when the
      72             :    class doesn't implement the interface. This is useful for forwarding. */
      73             : #define NS_DECL_NON_VIRTUAL_NSIRDFOBSERVER \
      74             :   nsresult OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget); \
      75             :   nsresult OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget); \
      76             :   nsresult OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget); \
      77             :   nsresult OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget); \
      78             :   nsresult OnBeginUpdateBatch(nsIRDFDataSource *aDataSource); \
      79             :   nsresult OnEndUpdateBatch(nsIRDFDataSource *aDataSource); 
      80             : 
      81             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      82             : #define NS_FORWARD_NSIRDFOBSERVER(_to) \
      83             :   NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override { return _to OnAssert(aDataSource, aSource, aProperty, aTarget); } \
      84             :   NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override { return _to OnUnassert(aDataSource, aSource, aProperty, aTarget); } \
      85             :   NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget) override { return _to OnChange(aDataSource, aSource, aProperty, aOldTarget, aNewTarget); } \
      86             :   NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override { return _to OnMove(aDataSource, aOldSource, aNewSource, aProperty, aTarget); } \
      87             :   NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource) override { return _to OnBeginUpdateBatch(aDataSource); } \
      88             :   NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource) override { return _to OnEndUpdateBatch(aDataSource); } 
      89             : 
      90             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      91             : #define NS_FORWARD_SAFE_NSIRDFOBSERVER(_to) \
      92             :   NS_IMETHOD OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnAssert(aDataSource, aSource, aProperty, aTarget); } \
      93             :   NS_IMETHOD OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUnassert(aDataSource, aSource, aProperty, aTarget); } \
      94             :   NS_IMETHOD OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnChange(aDataSource, aSource, aProperty, aOldTarget, aNewTarget); } \
      95             :   NS_IMETHOD OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnMove(aDataSource, aOldSource, aNewSource, aProperty, aTarget); } \
      96             :   NS_IMETHOD OnBeginUpdateBatch(nsIRDFDataSource *aDataSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnBeginUpdateBatch(aDataSource); } \
      97             :   NS_IMETHOD OnEndUpdateBatch(nsIRDFDataSource *aDataSource) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnEndUpdateBatch(aDataSource); } 
      98             : 
      99             : #if 0
     100             : /* Use the code below as a template for the implementation class for this interface. */
     101             : 
     102             : /* Header file */
     103             : class nsRDFObserver : public nsIRDFObserver
     104             : {
     105             : public:
     106             :   NS_DECL_ISUPPORTS
     107             :   NS_DECL_NSIRDFOBSERVER
     108             : 
     109             :   nsRDFObserver();
     110             : 
     111             : private:
     112             :   ~nsRDFObserver();
     113             : 
     114             : protected:
     115             :   /* additional members */
     116             : };
     117             : 
     118             : /* Implementation file */
     119             : NS_IMPL_ISUPPORTS(nsRDFObserver, nsIRDFObserver)
     120             : 
     121             : nsRDFObserver::nsRDFObserver()
     122             : {
     123             :   /* member initializers and constructor code */
     124             : }
     125             : 
     126             : nsRDFObserver::~nsRDFObserver()
     127             : {
     128             :   /* destructor code */
     129             : }
     130             : 
     131             : /* void onAssert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
     132             : NS_IMETHODIMP nsRDFObserver::OnAssert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget)
     133             : {
     134             :     return NS_ERROR_NOT_IMPLEMENTED;
     135             : }
     136             : 
     137             : /* void onUnassert (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
     138             : NS_IMETHODIMP nsRDFObserver::OnUnassert(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget)
     139             : {
     140             :     return NS_ERROR_NOT_IMPLEMENTED;
     141             : }
     142             : 
     143             : /* void onChange (in nsIRDFDataSource aDataSource, in nsIRDFResource aSource, in nsIRDFResource aProperty, in nsIRDFNode aOldTarget, in nsIRDFNode aNewTarget); */
     144             : NS_IMETHODIMP nsRDFObserver::OnChange(nsIRDFDataSource *aDataSource, nsIRDFResource *aSource, nsIRDFResource *aProperty, nsIRDFNode *aOldTarget, nsIRDFNode *aNewTarget)
     145             : {
     146             :     return NS_ERROR_NOT_IMPLEMENTED;
     147             : }
     148             : 
     149             : /* void onMove (in nsIRDFDataSource aDataSource, in nsIRDFResource aOldSource, in nsIRDFResource aNewSource, in nsIRDFResource aProperty, in nsIRDFNode aTarget); */
     150             : NS_IMETHODIMP nsRDFObserver::OnMove(nsIRDFDataSource *aDataSource, nsIRDFResource *aOldSource, nsIRDFResource *aNewSource, nsIRDFResource *aProperty, nsIRDFNode *aTarget)
     151             : {
     152             :     return NS_ERROR_NOT_IMPLEMENTED;
     153             : }
     154             : 
     155             : /* void onBeginUpdateBatch (in nsIRDFDataSource aDataSource); */
     156             : NS_IMETHODIMP nsRDFObserver::OnBeginUpdateBatch(nsIRDFDataSource *aDataSource)
     157             : {
     158             :     return NS_ERROR_NOT_IMPLEMENTED;
     159             : }
     160             : 
     161             : /* void onEndUpdateBatch (in nsIRDFDataSource aDataSource); */
     162             : NS_IMETHODIMP nsRDFObserver::OnEndUpdateBatch(nsIRDFDataSource *aDataSource)
     163             : {
     164             :     return NS_ERROR_NOT_IMPLEMENTED;
     165             : }
     166             : 
     167             : /* End of implementation class template. */
     168             : #endif
     169             : 
     170             : 
     171             : #endif /* __gen_nsIRDFObserver_h__ */

Generated by: LCOV version 1.13