LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMHTMLOptionElement.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/nsIDOMHTMLOptionElement.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMHTMLOptionElement_h__
       6                 : #define __gen_nsIDOMHTMLOptionElement_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:    nsIDOMHTMLOptionElement */
      19                 : #define NS_IDOMHTMLOPTIONELEMENT_IID_STR "7c5bf0ac-6230-4ee0-8b82-e7ebf211af03"
      20                 : 
      21                 : #define NS_IDOMHTMLOPTIONELEMENT_IID \
      22                 :   {0x7c5bf0ac, 0x6230, 0x4ee0, \
      23                 :     { 0x8b, 0x82, 0xe7, 0xeb, 0xf2, 0x11, 0xaf, 0x03 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLOptionElement : public nsIDOMHTMLElement {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOPTIONELEMENT_IID)
      29                 : 
      30                 :   /* attribute boolean disabled; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
      32                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) = 0;
      33                 : 
      34                 :   /* readonly attribute nsIDOMHTMLFormElement form; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
      36                 : 
      37                 :   /* attribute DOMString label; */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) = 0;
      39                 :   NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) = 0;
      40                 : 
      41                 :   /* attribute boolean defaultSelected; */
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultSelected(bool *aDefaultSelected) = 0;
      43                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultSelected(bool aDefaultSelected) = 0;
      44                 : 
      45                 :   /* attribute boolean selected; */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected) = 0;
      47                 :   NS_SCRIPTABLE NS_IMETHOD SetSelected(bool aSelected) = 0;
      48                 : 
      49                 :   /* attribute DOMString value; */
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
      51                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;
      52                 : 
      53                 :   /* attribute DOMString text; */
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) = 0;
      55                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) = 0;
      56                 : 
      57                 :   /* readonly attribute long index; */
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex) = 0;
      59                 : 
      60                 : };
      61                 : 
      62                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLOptionElement, NS_IDOMHTMLOPTIONELEMENT_IID)
      63                 : 
      64                 : /* Use this macro when declaring classes that implement this interface. */
      65                 : #define NS_DECL_NSIDOMHTMLOPTIONELEMENT \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel); \
      70                 :   NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel); \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultSelected(bool *aDefaultSelected); \
      72                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultSelected(bool aDefaultSelected); \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected); \
      74                 :   NS_SCRIPTABLE NS_IMETHOD SetSelected(bool aSelected); \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
      76                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText); \
      78                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText); \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex); 
      80                 : 
      81                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      82                 : #define NS_FORWARD_NSIDOMHTMLOPTIONELEMENT(_to) \
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return _to GetDisabled(aDisabled); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return _to SetDisabled(aDisabled); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return _to GetLabel(aLabel); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return _to SetLabel(aLabel); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultSelected(bool *aDefaultSelected) { return _to GetDefaultSelected(aDefaultSelected); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultSelected(bool aDefaultSelected) { return _to SetDefaultSelected(aDefaultSelected); } \
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected) { return _to GetSelected(aSelected); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD SetSelected(bool aSelected) { return _to SetSelected(aSelected); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
      94                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
      95                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); } \
      96                 :   NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex) { return _to GetIndex(aIndex); } 
      97                 : 
      98                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      99                 : #define NS_FORWARD_SAFE_NSIDOMHTMLOPTIONELEMENT(_to) \
     100                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
     101                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
     102                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
     103                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
     104                 :   NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
     105                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultSelected(bool *aDefaultSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultSelected(aDefaultSelected); } \
     106                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultSelected(bool aDefaultSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultSelected(aDefaultSelected); } \
     107                 :   NS_SCRIPTABLE NS_IMETHOD GetSelected(bool *aSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelected(aSelected); } \
     108                 :   NS_SCRIPTABLE NS_IMETHOD SetSelected(bool aSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelected(aSelected); } \
     109                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
     110                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
     111                 :   NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
     112                 :   NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
     113                 :   NS_SCRIPTABLE NS_IMETHOD GetIndex(PRInt32 *aIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndex(aIndex); } 
     114                 : 
     115                 : #if 0
     116                 : /* Use the code below as a template for the implementation class for this interface. */
     117                 : 
     118                 : /* Header file */
     119                 : class nsDOMHTMLOptionElement : public nsIDOMHTMLOptionElement
     120                 : {
     121                 : public:
     122                 :   NS_DECL_ISUPPORTS
     123                 :   NS_DECL_NSIDOMHTMLOPTIONELEMENT
     124                 : 
     125                 :   nsDOMHTMLOptionElement();
     126                 : 
     127                 : private:
     128                 :   ~nsDOMHTMLOptionElement();
     129                 : 
     130                 : protected:
     131                 :   /* additional members */
     132                 : };
     133                 : 
     134                 : /* Implementation file */
     135                 : NS_IMPL_ISUPPORTS1(nsDOMHTMLOptionElement, nsIDOMHTMLOptionElement)
     136                 : 
     137                 : nsDOMHTMLOptionElement::nsDOMHTMLOptionElement()
     138                 : {
     139                 :   /* member initializers and constructor code */
     140                 : }
     141                 : 
     142                 : nsDOMHTMLOptionElement::~nsDOMHTMLOptionElement()
     143                 : {
     144                 :   /* destructor code */
     145                 : }
     146                 : 
     147                 : /* attribute boolean disabled; */
     148                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetDisabled(bool *aDisabled)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : NS_IMETHODIMP nsDOMHTMLOptionElement::SetDisabled(bool aDisabled)
     153                 : {
     154                 :     return NS_ERROR_NOT_IMPLEMENTED;
     155                 : }
     156                 : 
     157                 : /* readonly attribute nsIDOMHTMLFormElement form; */
     158                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetForm(nsIDOMHTMLFormElement * *aForm)
     159                 : {
     160                 :     return NS_ERROR_NOT_IMPLEMENTED;
     161                 : }
     162                 : 
     163                 : /* attribute DOMString label; */
     164                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetLabel(nsAString & aLabel)
     165                 : {
     166                 :     return NS_ERROR_NOT_IMPLEMENTED;
     167                 : }
     168                 : NS_IMETHODIMP nsDOMHTMLOptionElement::SetLabel(const nsAString & aLabel)
     169                 : {
     170                 :     return NS_ERROR_NOT_IMPLEMENTED;
     171                 : }
     172                 : 
     173                 : /* attribute boolean defaultSelected; */
     174                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetDefaultSelected(bool *aDefaultSelected)
     175                 : {
     176                 :     return NS_ERROR_NOT_IMPLEMENTED;
     177                 : }
     178                 : NS_IMETHODIMP nsDOMHTMLOptionElement::SetDefaultSelected(bool aDefaultSelected)
     179                 : {
     180                 :     return NS_ERROR_NOT_IMPLEMENTED;
     181                 : }
     182                 : 
     183                 : /* attribute boolean selected; */
     184                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetSelected(bool *aSelected)
     185                 : {
     186                 :     return NS_ERROR_NOT_IMPLEMENTED;
     187                 : }
     188                 : NS_IMETHODIMP nsDOMHTMLOptionElement::SetSelected(bool aSelected)
     189                 : {
     190                 :     return NS_ERROR_NOT_IMPLEMENTED;
     191                 : }
     192                 : 
     193                 : /* attribute DOMString value; */
     194                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetValue(nsAString & aValue)
     195                 : {
     196                 :     return NS_ERROR_NOT_IMPLEMENTED;
     197                 : }
     198                 : NS_IMETHODIMP nsDOMHTMLOptionElement::SetValue(const nsAString & aValue)
     199                 : {
     200                 :     return NS_ERROR_NOT_IMPLEMENTED;
     201                 : }
     202                 : 
     203                 : /* attribute DOMString text; */
     204                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetText(nsAString & aText)
     205                 : {
     206                 :     return NS_ERROR_NOT_IMPLEMENTED;
     207                 : }
     208                 : NS_IMETHODIMP nsDOMHTMLOptionElement::SetText(const nsAString & aText)
     209                 : {
     210                 :     return NS_ERROR_NOT_IMPLEMENTED;
     211                 : }
     212                 : 
     213                 : /* readonly attribute long index; */
     214                 : NS_IMETHODIMP nsDOMHTMLOptionElement::GetIndex(PRInt32 *aIndex)
     215                 : {
     216                 :     return NS_ERROR_NOT_IMPLEMENTED;
     217                 : }
     218                 : 
     219                 : /* End of implementation class template. */
     220                 : #endif
     221                 : 
     222                 : 
     223                 : #endif /* __gen_nsIDOMHTMLOptionElement_h__ */

Generated by: LCOV version 1.7