LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMSVGElement.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/nsIDOMSVGElement.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMSVGElement_h__
       6             : #define __gen_nsIDOMSVGElement_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMElement_h__
      10             : #include "nsIDOMElement.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             : class nsIDOMCSSStyleDeclaration; /* forward declaration */
      18             : 
      19             : class nsIDOMCSSValue; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIDOMSVGElement */
      23             : #define NS_IDOMSVGELEMENT_IID_STR "c63517c5-8bab-4cd1-8694-bccafc32a195"
      24             : 
      25             : #define NS_IDOMSVGELEMENT_IID \
      26             :   {0xc63517c5, 0x8bab, 0x4cd1, \
      27             :     { 0x86, 0x94, 0xbc, 0xca, 0xfc, 0x32, 0xa1, 0x95 }}
      28             : 
      29         156 : class NS_NO_VTABLE nsIDOMSVGElement : public nsIDOMElement {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGELEMENT_IID)
      33             : 
      34             :   /* readonly attribute nsIDOMSVGElement ownerSVGElement; */
      35             :   NS_IMETHOD GetOwnerSVGElement(nsIDOMSVGElement * *aOwnerSVGElement) = 0;
      36             : 
      37             :   /* readonly attribute nsIDOMSVGElement viewportElement; */
      38             :   NS_IMETHOD GetViewportElement(nsIDOMSVGElement * *aViewportElement) = 0;
      39             : 
      40             :   /* [binaryname(SVGClassName)] readonly attribute nsISupports className; */
      41             :   NS_IMETHOD GetSVGClassName(nsISupports * *aClassName) = 0;
      42             : 
      43             :   /* readonly attribute nsIDOMCSSStyleDeclaration style; */
      44             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) = 0;
      45             : 
      46             : };
      47             : 
      48             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGElement, NS_IDOMSVGELEMENT_IID)
      49             : 
      50             : /* Use this macro when declaring classes that implement this interface. */
      51             : #define NS_DECL_NSIDOMSVGELEMENT \
      52             :   NS_IMETHOD GetOwnerSVGElement(nsIDOMSVGElement * *aOwnerSVGElement) override; \
      53             :   NS_IMETHOD GetViewportElement(nsIDOMSVGElement * *aViewportElement) override; \
      54             :   NS_IMETHOD GetSVGClassName(nsISupports * *aClassName) override; \
      55             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) override; 
      56             : 
      57             : /* Use this macro when declaring the members of this interface when the
      58             :    class doesn't implement the interface. This is useful for forwarding. */
      59             : #define NS_DECL_NON_VIRTUAL_NSIDOMSVGELEMENT \
      60             :   nsresult GetOwnerSVGElement(nsIDOMSVGElement * *aOwnerSVGElement); \
      61             :   nsresult GetViewportElement(nsIDOMSVGElement * *aViewportElement); \
      62             :   nsresult GetSVGClassName(nsISupports * *aClassName); \
      63             :   nsresult GetStyle(nsIDOMCSSStyleDeclaration * *aStyle); 
      64             : 
      65             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66             : #define NS_FORWARD_NSIDOMSVGELEMENT(_to) \
      67             :   NS_IMETHOD GetOwnerSVGElement(nsIDOMSVGElement * *aOwnerSVGElement) override { return _to GetOwnerSVGElement(aOwnerSVGElement); } \
      68             :   NS_IMETHOD GetViewportElement(nsIDOMSVGElement * *aViewportElement) override { return _to GetViewportElement(aViewportElement); } \
      69             :   NS_IMETHOD GetSVGClassName(nsISupports * *aClassName) override { return _to GetSVGClassName(aClassName); } \
      70             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) override { return _to GetStyle(aStyle); } 
      71             : 
      72             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      73             : #define NS_FORWARD_SAFE_NSIDOMSVGELEMENT(_to) \
      74             :   NS_IMETHOD GetOwnerSVGElement(nsIDOMSVGElement * *aOwnerSVGElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerSVGElement(aOwnerSVGElement); } \
      75             :   NS_IMETHOD GetViewportElement(nsIDOMSVGElement * *aViewportElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewportElement(aViewportElement); } \
      76             :   NS_IMETHOD GetSVGClassName(nsISupports * *aClassName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSVGClassName(aClassName); } \
      77             :   NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); } 
      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 nsDOMSVGElement : public nsIDOMSVGElement
      84             : {
      85             : public:
      86             :   NS_DECL_ISUPPORTS
      87             :   NS_DECL_NSIDOMSVGELEMENT
      88             : 
      89             :   nsDOMSVGElement();
      90             : 
      91             : private:
      92             :   ~nsDOMSVGElement();
      93             : 
      94             : protected:
      95             :   /* additional members */
      96             : };
      97             : 
      98             : /* Implementation file */
      99             : NS_IMPL_ISUPPORTS(nsDOMSVGElement, nsIDOMSVGElement)
     100             : 
     101             : nsDOMSVGElement::nsDOMSVGElement()
     102             : {
     103             :   /* member initializers and constructor code */
     104             : }
     105             : 
     106             : nsDOMSVGElement::~nsDOMSVGElement()
     107             : {
     108             :   /* destructor code */
     109             : }
     110             : 
     111             : /* readonly attribute nsIDOMSVGElement ownerSVGElement; */
     112             : NS_IMETHODIMP nsDOMSVGElement::GetOwnerSVGElement(nsIDOMSVGElement * *aOwnerSVGElement)
     113             : {
     114             :     return NS_ERROR_NOT_IMPLEMENTED;
     115             : }
     116             : 
     117             : /* readonly attribute nsIDOMSVGElement viewportElement; */
     118             : NS_IMETHODIMP nsDOMSVGElement::GetViewportElement(nsIDOMSVGElement * *aViewportElement)
     119             : {
     120             :     return NS_ERROR_NOT_IMPLEMENTED;
     121             : }
     122             : 
     123             : /* [binaryname(SVGClassName)] readonly attribute nsISupports className; */
     124             : NS_IMETHODIMP nsDOMSVGElement::GetSVGClassName(nsISupports * *aClassName)
     125             : {
     126             :     return NS_ERROR_NOT_IMPLEMENTED;
     127             : }
     128             : 
     129             : /* readonly attribute nsIDOMCSSStyleDeclaration style; */
     130             : NS_IMETHODIMP nsDOMSVGElement::GetStyle(nsIDOMCSSStyleDeclaration * *aStyle)
     131             : {
     132             :     return NS_ERROR_NOT_IMPLEMENTED;
     133             : }
     134             : 
     135             : /* End of implementation class template. */
     136             : #endif
     137             : 
     138             : 
     139             : #endif /* __gen_nsIDOMSVGElement_h__ */

Generated by: LCOV version 1.13