LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMHTMLMenuElement.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/nsIDOMHTMLMenuElement.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMHTMLMenuElement_h__
       6             : #define __gen_nsIDOMHTMLMenuElement_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:    nsIDOMHTMLMenuElement */
      19             : #define NS_IDOMHTMLMENUELEMENT_IID_STR "a1ca9af6-f865-4fdf-901d-5858bb0ad5ea"
      20             : 
      21             : #define NS_IDOMHTMLMENUELEMENT_IID \
      22             :   {0xa1ca9af6, 0xf865, 0x4fdf, \
      23             :     { 0x90, 0x1d, 0x58, 0x58, 0xbb, 0x0a, 0xd5, 0xea }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMHTMLMenuElement : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMENUELEMENT_IID)
      29             : 
      30             :   /* attribute boolean compact; */
      31             :   NS_IMETHOD GetCompact(bool *aCompact) = 0;
      32             :   NS_IMETHOD SetCompact(bool aCompact) = 0;
      33             : 
      34             :   /* attribute DOMString type; */
      35             :   NS_IMETHOD GetType(nsAString & aType) = 0;
      36             :   NS_IMETHOD SetType(const nsAString & aType) = 0;
      37             : 
      38             :   /* attribute DOMString label; */
      39             :   NS_IMETHOD GetLabel(nsAString & aLabel) = 0;
      40             :   NS_IMETHOD SetLabel(const nsAString & aLabel) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLMenuElement, NS_IDOMHTMLMENUELEMENT_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIDOMHTMLMENUELEMENT \
      48             :   NS_IMETHOD GetCompact(bool *aCompact) override; \
      49             :   NS_IMETHOD SetCompact(bool aCompact) override; \
      50             :   NS_IMETHOD GetType(nsAString & aType) override; \
      51             :   NS_IMETHOD SetType(const nsAString & aType) override; \
      52             :   NS_IMETHOD GetLabel(nsAString & aLabel) override; \
      53             :   NS_IMETHOD SetLabel(const nsAString & aLabel) override; 
      54             : 
      55             : /* Use this macro when declaring the members of this interface when the
      56             :    class doesn't implement the interface. This is useful for forwarding. */
      57             : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLMENUELEMENT \
      58             :   nsresult GetCompact(bool *aCompact); \
      59             :   nsresult SetCompact(bool aCompact); \
      60             :   nsresult GetType(nsAString & aType); \
      61             :   nsresult SetType(const nsAString & aType); \
      62             :   nsresult GetLabel(nsAString & aLabel); \
      63             :   nsresult SetLabel(const nsAString & aLabel); 
      64             : 
      65             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66             : #define NS_FORWARD_NSIDOMHTMLMENUELEMENT(_to) \
      67             :   NS_IMETHOD GetCompact(bool *aCompact) override { return _to GetCompact(aCompact); } \
      68             :   NS_IMETHOD SetCompact(bool aCompact) override { return _to SetCompact(aCompact); } \
      69             :   NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
      70             :   NS_IMETHOD SetType(const nsAString & aType) override { return _to SetType(aType); } \
      71             :   NS_IMETHOD GetLabel(nsAString & aLabel) override { return _to GetLabel(aLabel); } \
      72             :   NS_IMETHOD SetLabel(const nsAString & aLabel) override { return _to SetLabel(aLabel); } 
      73             : 
      74             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75             : #define NS_FORWARD_SAFE_NSIDOMHTMLMENUELEMENT(_to) \
      76             :   NS_IMETHOD GetCompact(bool *aCompact) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompact(aCompact); } \
      77             :   NS_IMETHOD SetCompact(bool aCompact) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompact(aCompact); } \
      78             :   NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
      79             :   NS_IMETHOD SetType(const nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
      80             :   NS_IMETHOD GetLabel(nsAString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
      81             :   NS_IMETHOD SetLabel(const nsAString & aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } 
      82             : 
      83             : #if 0
      84             : /* Use the code below as a template for the implementation class for this interface. */
      85             : 
      86             : /* Header file */
      87             : class nsDOMHTMLMenuElement : public nsIDOMHTMLMenuElement
      88             : {
      89             : public:
      90             :   NS_DECL_ISUPPORTS
      91             :   NS_DECL_NSIDOMHTMLMENUELEMENT
      92             : 
      93             :   nsDOMHTMLMenuElement();
      94             : 
      95             : private:
      96             :   ~nsDOMHTMLMenuElement();
      97             : 
      98             : protected:
      99             :   /* additional members */
     100             : };
     101             : 
     102             : /* Implementation file */
     103             : NS_IMPL_ISUPPORTS(nsDOMHTMLMenuElement, nsIDOMHTMLMenuElement)
     104             : 
     105             : nsDOMHTMLMenuElement::nsDOMHTMLMenuElement()
     106             : {
     107             :   /* member initializers and constructor code */
     108             : }
     109             : 
     110             : nsDOMHTMLMenuElement::~nsDOMHTMLMenuElement()
     111             : {
     112             :   /* destructor code */
     113             : }
     114             : 
     115             : /* attribute boolean compact; */
     116             : NS_IMETHODIMP nsDOMHTMLMenuElement::GetCompact(bool *aCompact)
     117             : {
     118             :     return NS_ERROR_NOT_IMPLEMENTED;
     119             : }
     120             : NS_IMETHODIMP nsDOMHTMLMenuElement::SetCompact(bool aCompact)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* attribute DOMString type; */
     126             : NS_IMETHODIMP nsDOMHTMLMenuElement::GetType(nsAString & aType)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : NS_IMETHODIMP nsDOMHTMLMenuElement::SetType(const nsAString & aType)
     131             : {
     132             :     return NS_ERROR_NOT_IMPLEMENTED;
     133             : }
     134             : 
     135             : /* attribute DOMString label; */
     136             : NS_IMETHODIMP nsDOMHTMLMenuElement::GetLabel(nsAString & aLabel)
     137             : {
     138             :     return NS_ERROR_NOT_IMPLEMENTED;
     139             : }
     140             : NS_IMETHODIMP nsDOMHTMLMenuElement::SetLabel(const nsAString & aLabel)
     141             : {
     142             :     return NS_ERROR_NOT_IMPLEMENTED;
     143             : }
     144             : 
     145             : /* End of implementation class template. */
     146             : #endif
     147             : 
     148             : 
     149             : #endif /* __gen_nsIDOMHTMLMenuElement_h__ */

Generated by: LCOV version 1.13