LCOV - app.info - objdir/dist/include/nsIDOMHTMLScriptElement.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIDOMHTMLScriptElement.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 1 | 0 | 0.0 %
| Date: | 2012-04-21 | Functions: | 1 | 0 | 0.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-aurora-lnx-codecoverage/build/dom/interfaces/html/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 "4b6a0957-5466-4134-8a0a-dd7e4675c106"
          20                 :
          21                 : #define NS_IDOMHTMLSCRIPTELEMENT_IID \
          22                 :   {0x4b6a0957, 0x5466, 0x4134, \
          23                 :     { 0x8a, 0x0a, 0xdd, 0x7e, 0x46, 0x75, 0xc1, 0x06 }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLScriptElement : public nsIDOMHTMLElement {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSCRIPTELEMENT_IID)
          29                 :
          30                 :   /* attribute DOMString src; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
          32                 :   NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
          33                 :
          34                 :   /* attribute boolean async; */
          35                 :   NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync) = 0;
          36                 :   NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync) = 0;
          37                 :
          38                 :   /* attribute boolean defer; */
          39                 :   NS_SCRIPTABLE NS_IMETHOD GetDefer(bool *aDefer) = 0;
          40                 :   NS_SCRIPTABLE NS_IMETHOD SetDefer(bool aDefer) = 0;
          41                 :
          42                 :   /* attribute DOMString type; */
          43                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
          44                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
          45                 :
          46                 :   /* attribute DOMString charset; */
          47                 :   NS_SCRIPTABLE NS_IMETHOD GetCharset(nsAString & aCharset) = 0;
          48                 :   NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsAString & aCharset) = 0;
          49                 :
          50                 :   /* attribute DOMString text; */
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) = 0;
          52                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) = 0;
          53                 :
          54                 :   /* attribute DOMString htmlFor; */
          55                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) = 0;
          56                 :   NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) = 0;
          57                 :
          58                 :   /* attribute DOMString event; */
          59                 :   NS_SCRIPTABLE NS_IMETHOD GetEvent(nsAString & aEvent) = 0;
          60                 :   NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc); \
          69                 :   NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc); \
          70                 :   NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync); \
          71                 :   NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync); \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetDefer(bool *aDefer); \
          73                 :   NS_SCRIPTABLE NS_IMETHOD SetDefer(bool aDefer); \
          74                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
          75                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
          76                 :   NS_SCRIPTABLE NS_IMETHOD GetCharset(nsAString & aCharset); \
          77                 :   NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsAString & aCharset); \
          78                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText); \
          79                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText); \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor); \
          81                 :   NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor); \
          82                 :   NS_SCRIPTABLE NS_IMETHOD GetEvent(nsAString & aEvent); \
          83                 :   NS_SCRIPTABLE NS_IMETHOD SetEvent(const nsAString & aEvent);
          84                 :
          85                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          86                 : #define NS_FORWARD_NSIDOMHTMLSCRIPTELEMENT(_to) \
          87                 :   NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
          88                 :   NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
          89                 :   NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync) { return _to GetAsync(aAsync); } \
          90                 :   NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync) { return _to SetAsync(aAsync); } \
          91                 :   NS_SCRIPTABLE NS_IMETHOD GetDefer(bool *aDefer) { return _to GetDefer(aDefer); } \
          92                 :   NS_SCRIPTABLE NS_IMETHOD SetDefer(bool aDefer) { return _to SetDefer(aDefer); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD GetCharset(nsAString & aCharset) { return _to GetCharset(aCharset); } \
          96                 :   NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsAString & aCharset) { return _to SetCharset(aCharset); } \
          97                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
          98                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); } \
          99                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) { return _to SetHtmlFor(aHtmlFor); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD GetEvent(nsAString & aEvent) { return _to GetEvent(aEvent); } \
         102                 :   NS_SCRIPTABLE NS_IMETHOD SetEvent(const nsAString & aEvent) { return _to SetEvent(aEvent); }
         103                 :
         104                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         105                 : #define NS_FORWARD_SAFE_NSIDOMHTMLSCRIPTELEMENT(_to) \
         106                 :   NS_SCRIPTABLE NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
         107                 :   NS_SCRIPTABLE NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
         108                 :   NS_SCRIPTABLE NS_IMETHOD GetAsync(bool *aAsync) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsync(aAsync); } \
         109                 :   NS_SCRIPTABLE NS_IMETHOD SetAsync(bool aAsync) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAsync(aAsync); } \
         110                 :   NS_SCRIPTABLE NS_IMETHOD GetDefer(bool *aDefer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefer(aDefer); } \
         111                 :   NS_SCRIPTABLE NS_IMETHOD SetDefer(bool aDefer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefer(aDefer); } \
         112                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
         113                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
         114                 :   NS_SCRIPTABLE NS_IMETHOD GetCharset(nsAString & aCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharset(aCharset); } \
         115                 :   NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsAString & aCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharset(aCharset); } \
         116                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
         117                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
         118                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlFor(aHtmlFor); } \
         119                 :   NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlFor(aHtmlFor); } \
         120                 :   NS_SCRIPTABLE NS_IMETHOD GetEvent(nsAString & aEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEvent(aEvent); } \
         121                 :   NS_SCRIPTABLE NS_IMETHOD SetEvent(const nsAString & aEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEvent(aEvent); }
         122                 :
         123                 : #if 0
         124                 : /* Use the code below as a template for the implementation class for this interface. */
         125                 :
         126                 : /* Header file */
         127                 : class nsDOMHTMLScriptElement : public nsIDOMHTMLScriptElement
         128                 : {
         129                 : public:
         130                 :   NS_DECL_ISUPPORTS
         131                 :   NS_DECL_NSIDOMHTMLSCRIPTELEMENT
         132                 :
         133                 :   nsDOMHTMLScriptElement();
         134                 :
         135                 : private:
         136                 :   ~nsDOMHTMLScriptElement();
         137                 :
         138                 : protected:
         139                 :   /* additional members */
         140                 : };
         141                 :
         142                 : /* Implementation file */
         143                 : NS_IMPL_ISUPPORTS1(nsDOMHTMLScriptElement, nsIDOMHTMLScriptElement)
         144                 :
         145                 : nsDOMHTMLScriptElement::nsDOMHTMLScriptElement()
         146                 : {
         147                 :   /* member initializers and constructor code */
         148                 : }
         149                 :
         150                 : nsDOMHTMLScriptElement::~nsDOMHTMLScriptElement()
         151                 : {
         152                 :   /* destructor code */
         153                 : }
         154                 :
         155                 : /* attribute DOMString src; */
         156                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetSrc(nsAString & aSrc)
         157                 : {
         158                 :     return NS_ERROR_NOT_IMPLEMENTED;
         159                 : }
         160                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetSrc(const nsAString & aSrc)
         161                 : {
         162                 :     return NS_ERROR_NOT_IMPLEMENTED;
         163                 : }
         164                 :
         165                 : /* attribute boolean async; */
         166                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetAsync(bool *aAsync)
         167                 : {
         168                 :     return NS_ERROR_NOT_IMPLEMENTED;
         169                 : }
         170                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetAsync(bool aAsync)
         171                 : {
         172                 :     return NS_ERROR_NOT_IMPLEMENTED;
         173                 : }
         174                 :
         175                 : /* attribute boolean defer; */
         176                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetDefer(bool *aDefer)
         177                 : {
         178                 :     return NS_ERROR_NOT_IMPLEMENTED;
         179                 : }
         180                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetDefer(bool aDefer)
         181                 : {
         182                 :     return NS_ERROR_NOT_IMPLEMENTED;
         183                 : }
         184                 :
         185                 : /* attribute DOMString type; */
         186                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetType(nsAString & aType)
         187                 : {
         188                 :     return NS_ERROR_NOT_IMPLEMENTED;
         189                 : }
         190                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetType(const nsAString & aType)
         191                 : {
         192                 :     return NS_ERROR_NOT_IMPLEMENTED;
         193                 : }
         194                 :
         195                 : /* attribute DOMString charset; */
         196                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetCharset(nsAString & aCharset)
         197                 : {
         198                 :     return NS_ERROR_NOT_IMPLEMENTED;
         199                 : }
         200                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetCharset(const nsAString & aCharset)
         201                 : {
         202                 :     return NS_ERROR_NOT_IMPLEMENTED;
         203                 : }
         204                 :
         205                 : /* attribute DOMString text; */
         206                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetText(nsAString & aText)
         207                 : {
         208                 :     return NS_ERROR_NOT_IMPLEMENTED;
         209                 : }
         210                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetText(const nsAString & aText)
         211                 : {
         212                 :     return NS_ERROR_NOT_IMPLEMENTED;
         213                 : }
         214                 :
         215                 : /* attribute DOMString htmlFor; */
         216                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetHtmlFor(nsAString & aHtmlFor)
         217                 : {
         218                 :     return NS_ERROR_NOT_IMPLEMENTED;
         219                 : }
         220                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetHtmlFor(const nsAString & aHtmlFor)
         221                 : {
         222                 :     return NS_ERROR_NOT_IMPLEMENTED;
         223                 : }
         224                 :
         225                 : /* attribute DOMString event; */
         226                 : NS_IMETHODIMP nsDOMHTMLScriptElement::GetEvent(nsAString & aEvent)
         227                 : {
         228                 :     return NS_ERROR_NOT_IMPLEMENTED;
         229                 : }
         230                 : NS_IMETHODIMP nsDOMHTMLScriptElement::SetEvent(const nsAString & aEvent)
         231                 : {
         232                 :     return NS_ERROR_NOT_IMPLEMENTED;
         233                 : }
         234                 :
         235                 : /* End of implementation class template. */
         236                 : #endif
         237                 :
         238                 :
         239                 : #endif /* __gen_nsIDOMHTMLScriptElement_h__ */

Generated by: LCOV version 1.7