LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMDocumentXBL.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMDocumentXBL.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMDocumentXBL_h__
       6             : #define __gen_nsIDOMDocumentXBL_h__
       7             : 
       8             : 
       9             : #ifndef __gen_domstubs_h__
      10             : #include "domstubs.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:    nsIDOMDocumentXBL */
      19             : #define NS_IDOMDOCUMENTXBL_IID_STR "af628000-e3fa-40d2-9118-fbaa9f3ec6b9"
      20             : 
      21             : #define NS_IDOMDOCUMENTXBL_IID \
      22             :   {0xaf628000, 0xe3fa, 0x40d2, \
      23             :     { 0x91, 0x18, 0xfb, 0xaa, 0x9f, 0x3e, 0xc6, 0xb9 }}
      24             : 
      25          55 : class NS_NO_VTABLE nsIDOMDocumentXBL : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTXBL_IID)
      29             : 
      30             :   /* nsIDOMNodeList getAnonymousNodes (in nsIDOMElement elt); */
      31             :   NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval) = 0;
      32             : 
      33             :   /* nsIDOMElement getAnonymousElementByAttribute (in nsIDOMElement elt, in DOMString attrName, in DOMString attrValue); */
      34             :   NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval) = 0;
      35             : 
      36             :   /* nsIDOMElement getBindingParent (in nsIDOMNode node); */
      37             :   NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval) = 0;
      38             : 
      39             :   /* void loadBindingDocument (in DOMString documentURL); */
      40             :   NS_IMETHOD LoadBindingDocument(const nsAString & documentURL) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDocumentXBL, NS_IDOMDOCUMENTXBL_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIDOMDOCUMENTXBL \
      48             :   NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval) override; \
      49             :   NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval) override; \
      50             :   NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval) override; \
      51             :   NS_IMETHOD LoadBindingDocument(const nsAString & documentURL) 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_NSIDOMDOCUMENTXBL \
      56             :   nsresult GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval); \
      57             :   nsresult GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval); \
      58             :   nsresult GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval); \
      59             :   nsresult LoadBindingDocument(const nsAString & documentURL); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIDOMDOCUMENTXBL(_to) \
      63             :   NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval) override { return _to GetAnonymousNodes(elt, _retval); } \
      64             :   NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval) override { return _to GetAnonymousElementByAttribute(elt, attrName, attrValue, _retval); } \
      65             :   NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval) override { return _to GetBindingParent(node, _retval); } \
      66             :   NS_IMETHOD LoadBindingDocument(const nsAString & documentURL) override { return _to LoadBindingDocument(documentURL); } 
      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_NSIDOMDOCUMENTXBL(_to) \
      70             :   NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnonymousNodes(elt, _retval); } \
      71             :   NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnonymousElementByAttribute(elt, attrName, attrValue, _retval); } \
      72             :   NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingParent(node, _retval); } \
      73             :   NS_IMETHOD LoadBindingDocument(const nsAString & documentURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadBindingDocument(documentURL); } 
      74             : 
      75             : #if 0
      76             : /* Use the code below as a template for the implementation class for this interface. */
      77             : 
      78             : /* Header file */
      79             : class nsDOMDocumentXBL : public nsIDOMDocumentXBL
      80             : {
      81             : public:
      82             :   NS_DECL_ISUPPORTS
      83             :   NS_DECL_NSIDOMDOCUMENTXBL
      84             : 
      85             :   nsDOMDocumentXBL();
      86             : 
      87             : private:
      88             :   ~nsDOMDocumentXBL();
      89             : 
      90             : protected:
      91             :   /* additional members */
      92             : };
      93             : 
      94             : /* Implementation file */
      95             : NS_IMPL_ISUPPORTS(nsDOMDocumentXBL, nsIDOMDocumentXBL)
      96             : 
      97             : nsDOMDocumentXBL::nsDOMDocumentXBL()
      98             : {
      99             :   /* member initializers and constructor code */
     100             : }
     101             : 
     102             : nsDOMDocumentXBL::~nsDOMDocumentXBL()
     103             : {
     104             :   /* destructor code */
     105             : }
     106             : 
     107             : /* nsIDOMNodeList getAnonymousNodes (in nsIDOMElement elt); */
     108             : NS_IMETHODIMP nsDOMDocumentXBL::GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* nsIDOMElement getAnonymousElementByAttribute (in nsIDOMElement elt, in DOMString attrName, in DOMString attrValue); */
     114             : NS_IMETHODIMP nsDOMDocumentXBL::GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* nsIDOMElement getBindingParent (in nsIDOMNode node); */
     120             : NS_IMETHODIMP nsDOMDocumentXBL::GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* void loadBindingDocument (in DOMString documentURL); */
     126             : NS_IMETHODIMP nsDOMDocumentXBL::LoadBindingDocument(const nsAString & documentURL)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* End of implementation class template. */
     132             : #endif
     133             : 
     134             : 
     135             : #endif /* __gen_nsIDOMDocumentXBL_h__ */

Generated by: LCOV version 1.13