LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMDocumentXBL.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/dom/interfaces/xbl/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 "1a38762b-4da5-4f61-80fb-9317e198cb92"
      20                 : 
      21                 : #define NS_IDOMDOCUMENTXBL_IID \
      22                 :   {0x1a38762b, 0x4da5, 0x4f61, \
      23                 :     { 0x80, 0xfb, 0x93, 0x17, 0xe1, 0x98, 0xcb, 0x92 }}
      24                 : 
      25            1273 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMDocumentXBL : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTXBL_IID)
      29                 : 
      30                 :   /* nsIDOMNodeList getAnonymousNodes (in nsIDOMElement elt); */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval NS_OUTPARAM) = 0;
      32                 : 
      33                 :   /* nsIDOMElement getAnonymousElementByAttribute (in nsIDOMElement elt, in DOMString attrName, in DOMString attrValue); */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
      35                 : 
      36                 :   /* void addBinding (in nsIDOMElement elt, in DOMString bindingURL); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMElement *elt, const nsAString & bindingURL) = 0;
      38                 : 
      39                 :   /* void removeBinding (in nsIDOMElement elt, in DOMString bindingURL); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD RemoveBinding(nsIDOMElement *elt, const nsAString & bindingURL) = 0;
      41                 : 
      42                 :   /* nsIDOMElement getBindingParent (in nsIDOMNode node); */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
      44                 : 
      45                 :   /* void loadBindingDocument (in DOMString documentURL); */
      46                 :   NS_SCRIPTABLE NS_IMETHOD LoadBindingDocument(const nsAString & documentURL) = 0;
      47                 : 
      48                 : };
      49                 : 
      50                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDocumentXBL, NS_IDOMDOCUMENTXBL_IID)
      51                 : 
      52                 : /* Use this macro when declaring classes that implement this interface. */
      53                 : #define NS_DECL_NSIDOMDOCUMENTXBL \
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval NS_OUTPARAM); \
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval NS_OUTPARAM); \
      56                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMElement *elt, const nsAString & bindingURL); \
      57                 :   NS_SCRIPTABLE NS_IMETHOD RemoveBinding(nsIDOMElement *elt, const nsAString & bindingURL); \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval NS_OUTPARAM); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD 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_SCRIPTABLE NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval NS_OUTPARAM) { return _to GetAnonymousNodes(elt, _retval); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval NS_OUTPARAM) { return _to GetAnonymousElementByAttribute(elt, attrName, attrValue, _retval); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMElement *elt, const nsAString & bindingURL) { return _to AddBinding(elt, bindingURL); } \
      66                 :   NS_SCRIPTABLE NS_IMETHOD RemoveBinding(nsIDOMElement *elt, const nsAString & bindingURL) { return _to RemoveBinding(elt, bindingURL); } \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval NS_OUTPARAM) { return _to GetBindingParent(node, _retval); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD LoadBindingDocument(const nsAString & documentURL) { return _to LoadBindingDocument(documentURL); } 
      69                 : 
      70                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      71                 : #define NS_FORWARD_SAFE_NSIDOMDOCUMENTXBL(_to) \
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnonymousNodes(elt, _retval); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnonymousElementByAttribute(elt, attrName, attrValue, _retval); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD AddBinding(nsIDOMElement *elt, const nsAString & bindingURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddBinding(elt, bindingURL); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD RemoveBinding(nsIDOMElement *elt, const nsAString & bindingURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveBinding(elt, bindingURL); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindingParent(node, _retval); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD LoadBindingDocument(const nsAString & documentURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadBindingDocument(documentURL); } 
      78                 : 
      79                 : #if 0
      80                 : /* Use the code below as a template for the implementation class for this interface. */
      81                 : 
      82                 : /* Header file */
      83                 : class nsDOMDocumentXBL : public nsIDOMDocumentXBL
      84                 : {
      85                 : public:
      86                 :   NS_DECL_ISUPPORTS
      87                 :   NS_DECL_NSIDOMDOCUMENTXBL
      88                 : 
      89                 :   nsDOMDocumentXBL();
      90                 : 
      91                 : private:
      92                 :   ~nsDOMDocumentXBL();
      93                 : 
      94                 : protected:
      95                 :   /* additional members */
      96                 : };
      97                 : 
      98                 : /* Implementation file */
      99                 : NS_IMPL_ISUPPORTS1(nsDOMDocumentXBL, nsIDOMDocumentXBL)
     100                 : 
     101                 : nsDOMDocumentXBL::nsDOMDocumentXBL()
     102                 : {
     103                 :   /* member initializers and constructor code */
     104                 : }
     105                 : 
     106                 : nsDOMDocumentXBL::~nsDOMDocumentXBL()
     107                 : {
     108                 :   /* destructor code */
     109                 : }
     110                 : 
     111                 : /* nsIDOMNodeList getAnonymousNodes (in nsIDOMElement elt); */
     112                 : NS_IMETHODIMP nsDOMDocumentXBL::GetAnonymousNodes(nsIDOMElement *elt, nsIDOMNodeList * *_retval NS_OUTPARAM)
     113                 : {
     114                 :     return NS_ERROR_NOT_IMPLEMENTED;
     115                 : }
     116                 : 
     117                 : /* nsIDOMElement getAnonymousElementByAttribute (in nsIDOMElement elt, in DOMString attrName, in DOMString attrValue); */
     118                 : NS_IMETHODIMP nsDOMDocumentXBL::GetAnonymousElementByAttribute(nsIDOMElement *elt, const nsAString & attrName, const nsAString & attrValue, nsIDOMElement * *_retval NS_OUTPARAM)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* void addBinding (in nsIDOMElement elt, in DOMString bindingURL); */
     124                 : NS_IMETHODIMP nsDOMDocumentXBL::AddBinding(nsIDOMElement *elt, const nsAString & bindingURL)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* void removeBinding (in nsIDOMElement elt, in DOMString bindingURL); */
     130                 : NS_IMETHODIMP nsDOMDocumentXBL::RemoveBinding(nsIDOMElement *elt, const nsAString & bindingURL)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* nsIDOMElement getBindingParent (in nsIDOMNode node); */
     136                 : NS_IMETHODIMP nsDOMDocumentXBL::GetBindingParent(nsIDOMNode *node, nsIDOMElement * *_retval NS_OUTPARAM)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* void loadBindingDocument (in DOMString documentURL); */
     142                 : NS_IMETHODIMP nsDOMDocumentXBL::LoadBindingDocument(const nsAString & documentURL)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* End of implementation class template. */
     148                 : #endif
     149                 : 
     150                 : 
     151                 : #endif /* __gen_nsIDOMDocumentXBL_h__ */

Generated by: LCOV version 1.7