LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMHTMLScriptElement.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/nsIDOMHTMLScriptElement.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMHTMLScriptElement_h__
       6             : #define __gen_nsIDOMHTMLScriptElement_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMHTMLElement_h__
      10             : #include "nsIDOMHTMLElement.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:    nsIDOMHTMLScriptElement */
      19             : #define NS_IDOMHTMLSCRIPTELEMENT_IID_STR "fe96dc1c-40e4-4974-9354-e3fce663c3d5"
      20             : 
      21             : #define NS_IDOMHTMLSCRIPTELEMENT_IID \
      22             :   {0xfe96dc1c, 0x40e4, 0x4974, \
      23             :     { 0x93, 0x54, 0xe3, 0xfc, 0xe6, 0x63, 0xc3, 0xd5 }}
      24             : 
      25           5 : class NS_NO_VTABLE nsIDOMHTMLScriptElement : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSCRIPTELEMENT_IID)
      29             : 
      30             :   /* attribute DOMString src; */
      31             :   NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
      32             :   NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
      33             : 
      34             :   /* attribute boolean async; */
      35             :   NS_IMETHOD GetAsync(bool *aAsync) = 0;
      36             :   NS_IMETHOD SetAsync(bool aAsync) = 0;
      37             : 
      38             :   /* attribute boolean defer; */
      39             :   NS_IMETHOD GetDefer(bool *aDefer) = 0;
      40             :   NS_IMETHOD SetDefer(bool aDefer) = 0;
      41             : 
      42             :   /* attribute DOMString type; */
      43             :   NS_IMETHOD GetType(nsAString & aType) = 0;
      44             :   NS_IMETHOD SetType(const nsAString & aType) = 0;
      45             : 
      46             :   /* attribute DOMString charset; */
      47             :   NS_IMETHOD GetCharset(nsAString & aCharset) = 0;
      48             :   NS_IMETHOD SetCharset(const nsAString & aCharset) = 0;
      49             : 
      50             :   /* attribute DOMString text; */
      51             :   NS_IMETHOD GetText(nsAString & aText) = 0;
      52             :   NS_IMETHOD SetText(const nsAString & aText) = 0;
      53             : 
      54             :   /* attribute DOMString htmlFor; */
      55             :   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) = 0;
      56             :   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) = 0;
      57             : 
      58             :   /* attribute DOMString event; */
      59             :   NS_IMETHOD GetEvent(nsAString & aEvent) = 0;
      60             :   NS_IMETHOD SetEvent(const nsAString & aEvent) = 0;
      61             : 
      62             : };
      63             : 
      64             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLScriptElement, NS_IDOMHTMLSCRIPTELEMENT_IID)
      65             : 
      66             : /* Use this macro when declaring classes that implement this interface. */
      67             : #define NS_DECL_NSIDOMHTMLSCRIPTELEMENT \
      68             :   NS_IMETHOD GetSrc(nsAString & aSrc) override; \
      69             :   NS_IMETHOD SetSrc(const nsAString & aSrc) override; \
      70             :   NS_IMETHOD GetAsync(bool *aAsync) override; \
      71             :   NS_IMETHOD SetAsync(bool aAsync) override; \
      72             :   NS_IMETHOD GetDefer(bool *aDefer) override; \
      73             :   NS_IMETHOD SetDefer(bool aDefer) override; \
      74             :   NS_IMETHOD GetType(nsAString & aType) override; \
      75             :   NS_IMETHOD SetType(const nsAString & aType) override; \
      76             :   NS_IMETHOD GetCharset(nsAString & aCharset) override; \
      77             :   NS_IMETHOD SetCharset(const nsAString & aCharset) override; \
      78             :   NS_IMETHOD GetText(nsAString & aText) override; \
      79             :   NS_IMETHOD SetText(const nsAString & aText) override; \
      80             :   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) override; \
      81             :   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) override; \
      82             :   NS_IMETHOD GetEvent(nsAString & aEvent) override; \
      83             :   NS_IMETHOD SetEvent(const nsAString & aEvent) override; 
      84             : 
      85             : /* Use this macro when declaring the members of this interface when the
      86             :    class doesn't implement the interface. This is useful for forwarding. */
      87             : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLSCRIPTELEMENT \
      88             :   nsresult GetSrc(nsAString & aSrc); \
      89             :   nsresult SetSrc(const nsAString & aSrc); \
      90             :   nsresult GetAsync(bool *aAsync); \
      91             :   nsresult SetAsync(bool aAsync); \
      92             :   nsresult GetDefer(bool *aDefer); \
      93             :   nsresult SetDefer(bool aDefer); \
      94             :   nsresult GetType(nsAString & aType); \
      95             :   nsresult SetType(const nsAString & aType); \
      96             :   nsresult GetCharset(nsAString & aCharset); \
      97             :   nsresult SetCharset(const nsAString & aCharset); \
      98             :   nsresult GetText(nsAString & aText); \
      99             :   nsresult SetText(const nsAString & aText); \
     100             :   nsresult GetHtmlFor(nsAString & aHtmlFor); \
     101             :   nsresult SetHtmlFor(const nsAString & aHtmlFor); \
     102             :   nsresult GetEvent(nsAString & aEvent); \
     103             :   nsresult SetEvent(const nsAString & aEvent); 
     104             : 
     105             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     106             : #define NS_FORWARD_NSIDOMHTMLSCRIPTELEMENT(_to) \
     107             :   NS_IMETHOD GetSrc(nsAString & aSrc) override { return _to GetSrc(aSrc); } \
     108             :   NS_IMETHOD SetSrc(const nsAString & aSrc) override { return _to SetSrc(aSrc); } \
     109             :   NS_IMETHOD GetAsync(bool *aAsync) override { return _to GetAsync(aAsync); } \
     110             :   NS_IMETHOD SetAsync(bool aAsync) override { return _to SetAsync(aAsync); } \
     111             :   NS_IMETHOD GetDefer(bool *aDefer) override { return _to GetDefer(aDefer); } \
     112             :   NS_IMETHOD SetDefer(bool aDefer) override { return _to SetDefer(aDefer); } \
     113             :   NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
     114             :   NS_IMETHOD SetType(const nsAString & aType) override { return _to SetType(aType); } \
     115             :   NS_IMETHOD GetCharset(nsAString & aCharset) override { return _to GetCharset(aCharset); } \
     116             :   NS_IMETHOD SetCharset(const nsAString & aCharset) override { return _to SetCharset(aCharset); } \
     117             :   NS_IMETHOD GetText(nsAString & aText) override { return _to GetText(aText); } \
     118             :   NS_IMETHOD SetText(const nsAString & aText) override { return _to SetText(aText); } \
     119             :   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) override { return _to GetHtmlFor(aHtmlFor); } \
     120             :   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) override { return _to SetHtmlFor(aHtmlFor); } \
     121             :   NS_IMETHOD GetEvent(nsAString & aEvent) override { return _to GetEvent(aEvent); } \
     122             :   NS_IMETHOD SetEvent(const nsAString & aEvent) override { return _to SetEvent(aEvent); } 
     123             : 
     124             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     125             : #define NS_FORWARD_SAFE_NSIDOMHTMLSCRIPTELEMENT(_to) \
     126             :   NS_IMETHOD GetSrc(nsAString & aSrc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
     127             :   NS_IMETHOD SetSrc(const nsAString & aSrc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
     128             :   NS_IMETHOD GetAsync(bool *aAsync) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsync(aAsync); } \
     129             :   NS_IMETHOD SetAsync(bool aAsync) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAsync(aAsync); } \
     130             :   NS_IMETHOD GetDefer(bool *aDefer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefer(aDefer); } \
     131             :   NS_IMETHOD SetDefer(bool aDefer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefer(aDefer); } \
     132             :   NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
     133             :   NS_IMETHOD SetType(const nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
     134             :   NS_IMETHOD GetCharset(nsAString & aCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharset(aCharset); } \
     135             :   NS_IMETHOD SetCharset(const nsAString & aCharset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharset(aCharset); } \
     136             :   NS_IMETHOD GetText(nsAString & aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
     137             :   NS_IMETHOD SetText(const nsAString & aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
     138             :   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlFor(aHtmlFor); } \
     139             :   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlFor(aHtmlFor); } \
     140             :   NS_IMETHOD GetEvent(nsAString & aEvent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEvent(aEvent); } \
     141             :   NS_IMETHOD SetEvent(const nsAString & aEvent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEvent(aEvent); } 
     142             : 
     143             : #if 0
     144             : /* Use the code below as a template for the implementation class for this interface. */
     145             : 
     146             : /* Header file */
     147             : class nsDOMHTMLScriptElement : public nsIDOMHTMLScriptElement
     148             : {
     149             : public:
     150             :   NS_DECL_ISUPPORTS
     151             :   NS_DECL_NSIDOMHTMLSCRIPTELEMENT
     152             : 
     153             :   nsDOMHTMLScriptElement();
     154             : 
     155             : private:
     156             :   ~nsDOMHTMLScriptElement();
     157             : 
     158             : protected:
     159             :   /* additional members */
     160             : };
     161             : 
     162             : /* Implementation file */
     163             : NS_IMPL_ISUPPORTS(nsDOMHTMLScriptElement, nsIDOMHTMLScriptElement)
     164             : 
     165             : nsDOMHTMLScriptElement::nsDOMHTMLScriptElement()
     166             : {
     167             :   /* member initializers and constructor code */
     168             : }
     169             : 
     170             : nsDOMHTMLScriptElement::~nsDOMHTMLScriptElement()
     171             : {
     172             :   /* destructor code */
     173             : }
     174             : 
     175             : /* attribute DOMString src; */
     176             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetSrc(nsAString & aSrc)
     177             : {
     178             :     return NS_ERROR_NOT_IMPLEMENTED;
     179             : }
     180             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetSrc(const nsAString & aSrc)
     181             : {
     182             :     return NS_ERROR_NOT_IMPLEMENTED;
     183             : }
     184             : 
     185             : /* attribute boolean async; */
     186             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetAsync(bool *aAsync)
     187             : {
     188             :     return NS_ERROR_NOT_IMPLEMENTED;
     189             : }
     190             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetAsync(bool aAsync)
     191             : {
     192             :     return NS_ERROR_NOT_IMPLEMENTED;
     193             : }
     194             : 
     195             : /* attribute boolean defer; */
     196             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetDefer(bool *aDefer)
     197             : {
     198             :     return NS_ERROR_NOT_IMPLEMENTED;
     199             : }
     200             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetDefer(bool aDefer)
     201             : {
     202             :     return NS_ERROR_NOT_IMPLEMENTED;
     203             : }
     204             : 
     205             : /* attribute DOMString type; */
     206             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetType(nsAString & aType)
     207             : {
     208             :     return NS_ERROR_NOT_IMPLEMENTED;
     209             : }
     210             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetType(const nsAString & aType)
     211             : {
     212             :     return NS_ERROR_NOT_IMPLEMENTED;
     213             : }
     214             : 
     215             : /* attribute DOMString charset; */
     216             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetCharset(nsAString & aCharset)
     217             : {
     218             :     return NS_ERROR_NOT_IMPLEMENTED;
     219             : }
     220             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetCharset(const nsAString & aCharset)
     221             : {
     222             :     return NS_ERROR_NOT_IMPLEMENTED;
     223             : }
     224             : 
     225             : /* attribute DOMString text; */
     226             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetText(nsAString & aText)
     227             : {
     228             :     return NS_ERROR_NOT_IMPLEMENTED;
     229             : }
     230             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetText(const nsAString & aText)
     231             : {
     232             :     return NS_ERROR_NOT_IMPLEMENTED;
     233             : }
     234             : 
     235             : /* attribute DOMString htmlFor; */
     236             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetHtmlFor(nsAString & aHtmlFor)
     237             : {
     238             :     return NS_ERROR_NOT_IMPLEMENTED;
     239             : }
     240             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetHtmlFor(const nsAString & aHtmlFor)
     241             : {
     242             :     return NS_ERROR_NOT_IMPLEMENTED;
     243             : }
     244             : 
     245             : /* attribute DOMString event; */
     246             : NS_IMETHODIMP nsDOMHTMLScriptElement::GetEvent(nsAString & aEvent)
     247             : {
     248             :     return NS_ERROR_NOT_IMPLEMENTED;
     249             : }
     250             : NS_IMETHODIMP nsDOMHTMLScriptElement::SetEvent(const nsAString & aEvent)
     251             : {
     252             :     return NS_ERROR_NOT_IMPLEMENTED;
     253             : }
     254             : 
     255             : /* End of implementation class template. */
     256             : #endif
     257             : 
     258             : 
     259             : #endif /* __gen_nsIDOMHTMLScriptElement_h__ */

Generated by: LCOV version 1.13