LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMHTMLMenuItemElement.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLMenuItemElement.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMHTMLMenuItemElement_h__
       6             : #define __gen_nsIDOMHTMLMenuItemElement_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:    nsIDOMHTMLMenuItemElement */
      19             : #define NS_IDOMHTMLMENUITEMELEMENT_IID_STR "979d6e44-5930-4232-b405-873939655c19"
      20             : 
      21             : #define NS_IDOMHTMLMENUITEMELEMENT_IID \
      22             :   {0x979d6e44, 0x5930, 0x4232, \
      23             :     { 0xb4, 0x05, 0x87, 0x39, 0x39, 0x65, 0x5c, 0x19 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMHTMLMenuItemElement : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMENUITEMELEMENT_IID)
      29             : 
      30             :   /* attribute DOMString type; */
      31             :   NS_IMETHOD GetType(nsAString & aType) = 0;
      32             :   NS_IMETHOD SetType(const nsAString & aType) = 0;
      33             : 
      34             :   /* attribute DOMString label; */
      35             :   NS_IMETHOD GetLabel(nsAString & aLabel) = 0;
      36             :   NS_IMETHOD SetLabel(const nsAString & aLabel) = 0;
      37             : 
      38             :   /* attribute DOMString icon; */
      39             :   NS_IMETHOD GetIcon(nsAString & aIcon) = 0;
      40             :   NS_IMETHOD SetIcon(const nsAString & aIcon) = 0;
      41             : 
      42             :   /* attribute boolean disabled; */
      43             :   NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
      44             :   NS_IMETHOD SetDisabled(bool aDisabled) = 0;
      45             : 
      46             :   /* attribute boolean defaultChecked; */
      47             :   NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked) = 0;
      48             :   NS_IMETHOD SetDefaultChecked(bool aDefaultChecked) = 0;
      49             : 
      50             :   /* attribute boolean checked; */
      51             :   NS_IMETHOD GetChecked(bool *aChecked) = 0;
      52             :   NS_IMETHOD SetChecked(bool aChecked) = 0;
      53             : 
      54             :   /* attribute DOMString radiogroup; */
      55             :   NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup) = 0;
      56             :   NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup) = 0;
      57             : 
      58             : };
      59             : 
      60             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLMenuItemElement, NS_IDOMHTMLMENUITEMELEMENT_IID)
      61             : 
      62             : /* Use this macro when declaring classes that implement this interface. */
      63             : #define NS_DECL_NSIDOMHTMLMENUITEMELEMENT \
      64             :   NS_IMETHOD GetType(nsAString & aType) override; \
      65             :   NS_IMETHOD SetType(const nsAString & aType) override; \
      66             :   NS_IMETHOD GetLabel(nsAString & aLabel) override; \
      67             :   NS_IMETHOD SetLabel(const nsAString & aLabel) override; \
      68             :   NS_IMETHOD GetIcon(nsAString & aIcon) override; \
      69             :   NS_IMETHOD SetIcon(const nsAString & aIcon) override; \
      70             :   NS_IMETHOD GetDisabled(bool *aDisabled) override; \
      71             :   NS_IMETHOD SetDisabled(bool aDisabled) override; \
      72             :   NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked) override; \
      73             :   NS_IMETHOD SetDefaultChecked(bool aDefaultChecked) override; \
      74             :   NS_IMETHOD GetChecked(bool *aChecked) override; \
      75             :   NS_IMETHOD SetChecked(bool aChecked) override; \
      76             :   NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup) override; \
      77             :   NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup) override; 
      78             : 
      79             : /* Use this macro when declaring the members of this interface when the
      80             :    class doesn't implement the interface. This is useful for forwarding. */
      81             : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLMENUITEMELEMENT \
      82             :   nsresult GetType(nsAString & aType); \
      83             :   nsresult SetType(const nsAString & aType); \
      84             :   nsresult GetLabel(nsAString & aLabel); \
      85             :   nsresult SetLabel(const nsAString & aLabel); \
      86             :   nsresult GetIcon(nsAString & aIcon); \
      87             :   nsresult SetIcon(const nsAString & aIcon); \
      88             :   nsresult GetDisabled(bool *aDisabled); \
      89             :   nsresult SetDisabled(bool aDisabled); \
      90             :   nsresult GetDefaultChecked(bool *aDefaultChecked); \
      91             :   nsresult SetDefaultChecked(bool aDefaultChecked); \
      92             :   nsresult GetChecked(bool *aChecked); \
      93             :   nsresult SetChecked(bool aChecked); \
      94             :   nsresult GetRadiogroup(nsAString & aRadiogroup); \
      95             :   nsresult SetRadiogroup(const nsAString & aRadiogroup); 
      96             : 
      97             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      98             : #define NS_FORWARD_NSIDOMHTMLMENUITEMELEMENT(_to) \
      99             :   NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
     100             :   NS_IMETHOD SetType(const nsAString & aType) override { return _to SetType(aType); } \
     101             :   NS_IMETHOD GetLabel(nsAString & aLabel) override { return _to GetLabel(aLabel); } \
     102             :   NS_IMETHOD SetLabel(const nsAString & aLabel) override { return _to SetLabel(aLabel); } \
     103             :   NS_IMETHOD GetIcon(nsAString & aIcon) override { return _to GetIcon(aIcon); } \
     104             :   NS_IMETHOD SetIcon(const nsAString & aIcon) override { return _to SetIcon(aIcon); } \
     105             :   NS_IMETHOD GetDisabled(bool *aDisabled) override { return _to GetDisabled(aDisabled); } \
     106             :   NS_IMETHOD SetDisabled(bool aDisabled) override { return _to SetDisabled(aDisabled); } \
     107             :   NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked) override { return _to GetDefaultChecked(aDefaultChecked); } \
     108             :   NS_IMETHOD SetDefaultChecked(bool aDefaultChecked) override { return _to SetDefaultChecked(aDefaultChecked); } \
     109             :   NS_IMETHOD GetChecked(bool *aChecked) override { return _to GetChecked(aChecked); } \
     110             :   NS_IMETHOD SetChecked(bool aChecked) override { return _to SetChecked(aChecked); } \
     111             :   NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup) override { return _to GetRadiogroup(aRadiogroup); } \
     112             :   NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup) override { return _to SetRadiogroup(aRadiogroup); } 
     113             : 
     114             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     115             : #define NS_FORWARD_SAFE_NSIDOMHTMLMENUITEMELEMENT(_to) \
     116             :   NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
     117             :   NS_IMETHOD SetType(const nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
     118             :   NS_IMETHOD GetLabel(nsAString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
     119             :   NS_IMETHOD SetLabel(const nsAString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
     120             :   NS_IMETHOD GetIcon(nsAString & aIcon) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcon(aIcon); } \
     121             :   NS_IMETHOD SetIcon(const nsAString & aIcon) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcon(aIcon); } \
     122             :   NS_IMETHOD GetDisabled(bool *aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
     123             :   NS_IMETHOD SetDisabled(bool aDisabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
     124             :   NS_IMETHOD GetDefaultChecked(bool *aDefaultChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultChecked(aDefaultChecked); } \
     125             :   NS_IMETHOD SetDefaultChecked(bool aDefaultChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultChecked(aDefaultChecked); } \
     126             :   NS_IMETHOD GetChecked(bool *aChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChecked(aChecked); } \
     127             :   NS_IMETHOD SetChecked(bool aChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChecked(aChecked); } \
     128             :   NS_IMETHOD GetRadiogroup(nsAString & aRadiogroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRadiogroup(aRadiogroup); } \
     129             :   NS_IMETHOD SetRadiogroup(const nsAString & aRadiogroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRadiogroup(aRadiogroup); } 
     130             : 
     131             : #if 0
     132             : /* Use the code below as a template for the implementation class for this interface. */
     133             : 
     134             : /* Header file */
     135             : class nsDOMHTMLMenuItemElement : public nsIDOMHTMLMenuItemElement
     136             : {
     137             : public:
     138             :   NS_DECL_ISUPPORTS
     139             :   NS_DECL_NSIDOMHTMLMENUITEMELEMENT
     140             : 
     141             :   nsDOMHTMLMenuItemElement();
     142             : 
     143             : private:
     144             :   ~nsDOMHTMLMenuItemElement();
     145             : 
     146             : protected:
     147             :   /* additional members */
     148             : };
     149             : 
     150             : /* Implementation file */
     151             : NS_IMPL_ISUPPORTS(nsDOMHTMLMenuItemElement, nsIDOMHTMLMenuItemElement)
     152             : 
     153             : nsDOMHTMLMenuItemElement::nsDOMHTMLMenuItemElement()
     154             : {
     155             :   /* member initializers and constructor code */
     156             : }
     157             : 
     158             : nsDOMHTMLMenuItemElement::~nsDOMHTMLMenuItemElement()
     159             : {
     160             :   /* destructor code */
     161             : }
     162             : 
     163             : /* attribute DOMString type; */
     164             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::GetType(nsAString & aType)
     165             : {
     166             :     return NS_ERROR_NOT_IMPLEMENTED;
     167             : }
     168             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::SetType(const nsAString & aType)
     169             : {
     170             :     return NS_ERROR_NOT_IMPLEMENTED;
     171             : }
     172             : 
     173             : /* attribute DOMString label; */
     174             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::GetLabel(nsAString & aLabel)
     175             : {
     176             :     return NS_ERROR_NOT_IMPLEMENTED;
     177             : }
     178             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::SetLabel(const nsAString & aLabel)
     179             : {
     180             :     return NS_ERROR_NOT_IMPLEMENTED;
     181             : }
     182             : 
     183             : /* attribute DOMString icon; */
     184             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::GetIcon(nsAString & aIcon)
     185             : {
     186             :     return NS_ERROR_NOT_IMPLEMENTED;
     187             : }
     188             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::SetIcon(const nsAString & aIcon)
     189             : {
     190             :     return NS_ERROR_NOT_IMPLEMENTED;
     191             : }
     192             : 
     193             : /* attribute boolean disabled; */
     194             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::GetDisabled(bool *aDisabled)
     195             : {
     196             :     return NS_ERROR_NOT_IMPLEMENTED;
     197             : }
     198             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::SetDisabled(bool aDisabled)
     199             : {
     200             :     return NS_ERROR_NOT_IMPLEMENTED;
     201             : }
     202             : 
     203             : /* attribute boolean defaultChecked; */
     204             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::GetDefaultChecked(bool *aDefaultChecked)
     205             : {
     206             :     return NS_ERROR_NOT_IMPLEMENTED;
     207             : }
     208             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::SetDefaultChecked(bool aDefaultChecked)
     209             : {
     210             :     return NS_ERROR_NOT_IMPLEMENTED;
     211             : }
     212             : 
     213             : /* attribute boolean checked; */
     214             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::GetChecked(bool *aChecked)
     215             : {
     216             :     return NS_ERROR_NOT_IMPLEMENTED;
     217             : }
     218             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::SetChecked(bool aChecked)
     219             : {
     220             :     return NS_ERROR_NOT_IMPLEMENTED;
     221             : }
     222             : 
     223             : /* attribute DOMString radiogroup; */
     224             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::GetRadiogroup(nsAString & aRadiogroup)
     225             : {
     226             :     return NS_ERROR_NOT_IMPLEMENTED;
     227             : }
     228             : NS_IMETHODIMP nsDOMHTMLMenuItemElement::SetRadiogroup(const nsAString & aRadiogroup)
     229             : {
     230             :     return NS_ERROR_NOT_IMPLEMENTED;
     231             : }
     232             : 
     233             : /* End of implementation class template. */
     234             : #endif
     235             : 
     236             : 
     237             : #endif /* __gen_nsIDOMHTMLMenuItemElement_h__ */

Generated by: LCOV version 1.13