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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLOutputElement.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMHTMLOutputElement_h__
           6                 : #define __gen_nsIDOMHTMLOutputElement_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                 : class nsIDOMDOMSettableTokenList; /* forward declaration */
          18                 :
          19                 : class nsIDOMValidityState; /* forward declaration */
          20                 :
          21                 :
          22                 : /* starting interface:    nsIDOMHTMLOutputElement */
          23                 : #define NS_IDOMHTMLOUTPUTELEMENT_IID_STR "f2074cdb-19cb-447a-935c-9f4402dc1b5e"
          24                 :
          25                 : #define NS_IDOMHTMLOUTPUTELEMENT_IID \
          26                 :   {0xf2074cdb, 0x19cb, 0x447a, \
          27                 :     { 0x93, 0x5c, 0x9f, 0x44, 0x02, 0xdc, 0x1b, 0x5e }}
          28                 :
          29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLOutputElement : public nsIDOMHTMLElement {
          30                 :  public:
          31                 :
          32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOUTPUTELEMENT_IID)
          33                 :
          34                 :   /* readonly attribute nsIDOMDOMSettableTokenList htmlFor; */
          35                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsIDOMDOMSettableTokenList * *aHtmlFor) = 0;
          36                 :
          37                 :   /* readonly attribute nsIDOMHTMLFormElement form; */
          38                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
          39                 :
          40                 :   /* attribute DOMString name; */
          41                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
          42                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
          43                 :
          44                 :   /* readonly attribute DOMString type; */
          45                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
          46                 :
          47                 :   /* attribute DOMString defaultValue; */
          48                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) = 0;
          49                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) = 0;
          50                 :
          51                 :   /* attribute DOMString value; */
          52                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
          53                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;
          54                 :
          55                 :   /* readonly attribute boolean willValidate; */
          56                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate) = 0;
          57                 :
          58                 :   /* readonly attribute nsIDOMValidityState validity; */
          59                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) = 0;
          60                 :
          61                 :   /* readonly attribute DOMString validationMessage; */
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) = 0;
          63                 :
          64                 :   /* boolean checkValidity (); */
          65                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM) = 0;
          66                 :
          67                 :   /* void setCustomValidity (in DOMString error); */
          68                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error) = 0;
          69                 :
          70                 : };
          71                 :
          72                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLOutputElement, NS_IDOMHTMLOUTPUTELEMENT_IID)
          73                 :
          74                 : /* Use this macro when declaring classes that implement this interface. */
          75                 : #define NS_DECL_NSIDOMHTMLOUTPUTELEMENT \
          76                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsIDOMDOMSettableTokenList * *aHtmlFor); \
          77                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
          78                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
          79                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
          81                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue); \
          82                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue); \
          83                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
          84                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); \
          85                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate); \
          86                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity); \
          87                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage); \
          88                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM); \
          89                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error);
          90                 :
          91                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          92                 : #define NS_FORWARD_NSIDOMHTMLOUTPUTELEMENT(_to) \
          93                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsIDOMDOMSettableTokenList * *aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
          96                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
          97                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
          98                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) { return _to GetDefaultValue(aDefaultValue); } \
          99                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) { return _to SetDefaultValue(aDefaultValue); } \
         100                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
         101                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
         102                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate) { return _to GetWillValidate(aWillValidate); } \
         103                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) { return _to GetValidity(aValidity); } \
         104                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) { return _to GetValidationMessage(aValidationMessage); } \
         105                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM) { return _to CheckValidity(_retval); } \
         106                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error) { return _to SetCustomValidity(error); }
         107                 :
         108                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         109                 : #define NS_FORWARD_SAFE_NSIDOMHTMLOUTPUTELEMENT(_to) \
         110                 :   NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsIDOMDOMSettableTokenList * *aHtmlFor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlFor(aHtmlFor); } \
         111                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
         112                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
         113                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
         114                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
         115                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultValue(aDefaultValue); } \
         116                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultValue(aDefaultValue); } \
         117                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
         118                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
         119                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWillValidate(aWillValidate); } \
         120                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidity(aValidity); } \
         121                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidationMessage(aValidationMessage); } \
         122                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckValidity(_retval); } \
         123                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCustomValidity(error); }
         124                 :
         125                 : #if 0
         126                 : /* Use the code below as a template for the implementation class for this interface. */
         127                 :
         128                 : /* Header file */
         129                 : class nsDOMHTMLOutputElement : public nsIDOMHTMLOutputElement
         130                 : {
         131                 : public:
         132                 :   NS_DECL_ISUPPORTS
         133                 :   NS_DECL_NSIDOMHTMLOUTPUTELEMENT
         134                 :
         135                 :   nsDOMHTMLOutputElement();
         136                 :
         137                 : private:
         138                 :   ~nsDOMHTMLOutputElement();
         139                 :
         140                 : protected:
         141                 :   /* additional members */
         142                 : };
         143                 :
         144                 : /* Implementation file */
         145                 : NS_IMPL_ISUPPORTS1(nsDOMHTMLOutputElement, nsIDOMHTMLOutputElement)
         146                 :
         147                 : nsDOMHTMLOutputElement::nsDOMHTMLOutputElement()
         148                 : {
         149                 :   /* member initializers and constructor code */
         150                 : }
         151                 :
         152                 : nsDOMHTMLOutputElement::~nsDOMHTMLOutputElement()
         153                 : {
         154                 :   /* destructor code */
         155                 : }
         156                 :
         157                 : /* readonly attribute nsIDOMDOMSettableTokenList htmlFor; */
         158                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetHtmlFor(nsIDOMDOMSettableTokenList * *aHtmlFor)
         159                 : {
         160                 :     return NS_ERROR_NOT_IMPLEMENTED;
         161                 : }
         162                 :
         163                 : /* readonly attribute nsIDOMHTMLFormElement form; */
         164                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetForm(nsIDOMHTMLFormElement * *aForm)
         165                 : {
         166                 :     return NS_ERROR_NOT_IMPLEMENTED;
         167                 : }
         168                 :
         169                 : /* attribute DOMString name; */
         170                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetName(nsAString & aName)
         171                 : {
         172                 :     return NS_ERROR_NOT_IMPLEMENTED;
         173                 : }
         174                 : NS_IMETHODIMP nsDOMHTMLOutputElement::SetName(const nsAString & aName)
         175                 : {
         176                 :     return NS_ERROR_NOT_IMPLEMENTED;
         177                 : }
         178                 :
         179                 : /* readonly attribute DOMString type; */
         180                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetType(nsAString & aType)
         181                 : {
         182                 :     return NS_ERROR_NOT_IMPLEMENTED;
         183                 : }
         184                 :
         185                 : /* attribute DOMString defaultValue; */
         186                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetDefaultValue(nsAString & aDefaultValue)
         187                 : {
         188                 :     return NS_ERROR_NOT_IMPLEMENTED;
         189                 : }
         190                 : NS_IMETHODIMP nsDOMHTMLOutputElement::SetDefaultValue(const nsAString & aDefaultValue)
         191                 : {
         192                 :     return NS_ERROR_NOT_IMPLEMENTED;
         193                 : }
         194                 :
         195                 : /* attribute DOMString value; */
         196                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetValue(nsAString & aValue)
         197                 : {
         198                 :     return NS_ERROR_NOT_IMPLEMENTED;
         199                 : }
         200                 : NS_IMETHODIMP nsDOMHTMLOutputElement::SetValue(const nsAString & aValue)
         201                 : {
         202                 :     return NS_ERROR_NOT_IMPLEMENTED;
         203                 : }
         204                 :
         205                 : /* readonly attribute boolean willValidate; */
         206                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetWillValidate(bool *aWillValidate)
         207                 : {
         208                 :     return NS_ERROR_NOT_IMPLEMENTED;
         209                 : }
         210                 :
         211                 : /* readonly attribute nsIDOMValidityState validity; */
         212                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetValidity(nsIDOMValidityState * *aValidity)
         213                 : {
         214                 :     return NS_ERROR_NOT_IMPLEMENTED;
         215                 : }
         216                 :
         217                 : /* readonly attribute DOMString validationMessage; */
         218                 : NS_IMETHODIMP nsDOMHTMLOutputElement::GetValidationMessage(nsAString & aValidationMessage)
         219                 : {
         220                 :     return NS_ERROR_NOT_IMPLEMENTED;
         221                 : }
         222                 :
         223                 : /* boolean checkValidity (); */
         224                 : NS_IMETHODIMP nsDOMHTMLOutputElement::CheckValidity(bool *_retval NS_OUTPARAM)
         225                 : {
         226                 :     return NS_ERROR_NOT_IMPLEMENTED;
         227                 : }
         228                 :
         229                 : /* void setCustomValidity (in DOMString error); */
         230                 : NS_IMETHODIMP nsDOMHTMLOutputElement::SetCustomValidity(const nsAString & error)
         231                 : {
         232                 :     return NS_ERROR_NOT_IMPLEMENTED;
         233                 : }
         234                 :
         235                 : /* End of implementation class template. */
         236                 : #endif
         237                 :
         238                 :
         239                 : #endif /* __gen_nsIDOMHTMLOutputElement_h__ */

Generated by: LCOV version 1.7