LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMHTMLMenuElement.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/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 "06d48250-45e0-4f26-9a07-d9b5a3f08bb6"
      20                 : 
      21                 : #define NS_IDOMHTMLMENUELEMENT_IID \
      22                 :   {0x06d48250, 0x45e0, 0x4f26, \
      23                 :     { 0x9a, 0x07, 0xd9, 0xb5, 0xa3, 0xf0, 0x8b, 0xb6 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLMenuElement : public nsIDOMHTMLElement {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMENUELEMENT_IID)
      29                 : 
      30                 :   /* attribute boolean compact; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact) = 0;
      32                 :   NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact) = 0;
      33                 : 
      34                 :   /* attribute DOMString type; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
      36                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
      37                 : 
      38                 :   /* attribute DOMString label; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) = 0;
      40                 :   NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact); \
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel); \
      53                 :   NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel); 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56                 : #define NS_FORWARD_NSIDOMHTMLMENUELEMENT(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact) { return _to GetCompact(aCompact); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact) { return _to SetCompact(aCompact); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
      60                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return _to GetLabel(aLabel); } \
      62                 :   NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return _to SetLabel(aLabel); } 
      63                 : 
      64                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65                 : #define NS_FORWARD_SAFE_NSIDOMHTMLMENUELEMENT(_to) \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetCompact(bool *aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompact(aCompact); } \
      67                 :   NS_SCRIPTABLE NS_IMETHOD SetCompact(bool aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompact(aCompact); } \
      68                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
      69                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetLabel(nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD SetLabel(const nsAString & aLabel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } 
      72                 : 
      73                 : #if 0
      74                 : /* Use the code below as a template for the implementation class for this interface. */
      75                 : 
      76                 : /* Header file */
      77                 : class nsDOMHTMLMenuElement : public nsIDOMHTMLMenuElement
      78                 : {
      79                 : public:
      80                 :   NS_DECL_ISUPPORTS
      81                 :   NS_DECL_NSIDOMHTMLMENUELEMENT
      82                 : 
      83                 :   nsDOMHTMLMenuElement();
      84                 : 
      85                 : private:
      86                 :   ~nsDOMHTMLMenuElement();
      87                 : 
      88                 : protected:
      89                 :   /* additional members */
      90                 : };
      91                 : 
      92                 : /* Implementation file */
      93                 : NS_IMPL_ISUPPORTS1(nsDOMHTMLMenuElement, nsIDOMHTMLMenuElement)
      94                 : 
      95                 : nsDOMHTMLMenuElement::nsDOMHTMLMenuElement()
      96                 : {
      97                 :   /* member initializers and constructor code */
      98                 : }
      99                 : 
     100                 : nsDOMHTMLMenuElement::~nsDOMHTMLMenuElement()
     101                 : {
     102                 :   /* destructor code */
     103                 : }
     104                 : 
     105                 : /* attribute boolean compact; */
     106                 : NS_IMETHODIMP nsDOMHTMLMenuElement::GetCompact(bool *aCompact)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : NS_IMETHODIMP nsDOMHTMLMenuElement::SetCompact(bool aCompact)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : 
     115                 : /* attribute DOMString type; */
     116                 : NS_IMETHODIMP nsDOMHTMLMenuElement::GetType(nsAString & aType)
     117                 : {
     118                 :     return NS_ERROR_NOT_IMPLEMENTED;
     119                 : }
     120                 : NS_IMETHODIMP nsDOMHTMLMenuElement::SetType(const nsAString & aType)
     121                 : {
     122                 :     return NS_ERROR_NOT_IMPLEMENTED;
     123                 : }
     124                 : 
     125                 : /* attribute DOMString label; */
     126                 : NS_IMETHODIMP nsDOMHTMLMenuElement::GetLabel(nsAString & aLabel)
     127                 : {
     128                 :     return NS_ERROR_NOT_IMPLEMENTED;
     129                 : }
     130                 : NS_IMETHODIMP nsDOMHTMLMenuElement::SetLabel(const nsAString & aLabel)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* End of implementation class template. */
     136                 : #endif
     137                 : 
     138                 : 
     139                 : #endif /* __gen_nsIDOMHTMLMenuElement_h__ */

Generated by: LCOV version 1.7