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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLLIElement.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMHTMLLIElement_h__
       6                 : #define __gen_nsIDOMHTMLLIElement_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:    nsIDOMHTMLLIElement */
      19                 : #define NS_IDOMHTMLLIELEMENT_IID_STR "85b15d13-be6d-4653-9c70-22a13d510247"
      20                 : 
      21                 : #define NS_IDOMHTMLLIELEMENT_IID \
      22                 :   {0x85b15d13, 0xbe6d, 0x4653, \
      23                 :     { 0x9c, 0x70, 0x22, 0xa1, 0x3d, 0x51, 0x02, 0x47 }}
      24                 : 
      25               8 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLLIElement : public nsIDOMHTMLElement {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLLIELEMENT_IID)
      29                 : 
      30                 :   /* attribute DOMString type; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
      32                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
      33                 : 
      34                 :   /* attribute long value; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(PRInt32 *aValue) = 0;
      36                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(PRInt32 aValue) = 0;
      37                 : 
      38                 : };
      39                 : 
      40                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLLIElement, NS_IDOMHTMLLIELEMENT_IID)
      41                 : 
      42                 : /* Use this macro when declaring classes that implement this interface. */
      43                 : #define NS_DECL_NSIDOMHTMLLIELEMENT \
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
      45                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(PRInt32 *aValue); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(PRInt32 aValue); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSIDOMHTMLLIELEMENT(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(PRInt32 *aValue) { return _to GetValue(aValue); } \
      54                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(PRInt32 aValue) { return _to SetValue(aValue); } 
      55                 : 
      56                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57                 : #define NS_FORWARD_SAFE_NSIDOMHTMLLIELEMENT(_to) \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(PRInt32 *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
      61                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(PRInt32 aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } 
      62                 : 
      63                 : #if 0
      64                 : /* Use the code below as a template for the implementation class for this interface. */
      65                 : 
      66                 : /* Header file */
      67                 : class nsDOMHTMLLIElement : public nsIDOMHTMLLIElement
      68                 : {
      69                 : public:
      70                 :   NS_DECL_ISUPPORTS
      71                 :   NS_DECL_NSIDOMHTMLLIELEMENT
      72                 : 
      73                 :   nsDOMHTMLLIElement();
      74                 : 
      75                 : private:
      76                 :   ~nsDOMHTMLLIElement();
      77                 : 
      78                 : protected:
      79                 :   /* additional members */
      80                 : };
      81                 : 
      82                 : /* Implementation file */
      83                 : NS_IMPL_ISUPPORTS1(nsDOMHTMLLIElement, nsIDOMHTMLLIElement)
      84                 : 
      85                 : nsDOMHTMLLIElement::nsDOMHTMLLIElement()
      86                 : {
      87                 :   /* member initializers and constructor code */
      88                 : }
      89                 : 
      90                 : nsDOMHTMLLIElement::~nsDOMHTMLLIElement()
      91                 : {
      92                 :   /* destructor code */
      93                 : }
      94                 : 
      95                 : /* attribute DOMString type; */
      96                 : NS_IMETHODIMP nsDOMHTMLLIElement::GetType(nsAString & aType)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : NS_IMETHODIMP nsDOMHTMLLIElement::SetType(const nsAString & aType)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* attribute long value; */
     106                 : NS_IMETHODIMP nsDOMHTMLLIElement::GetValue(PRInt32 *aValue)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : NS_IMETHODIMP nsDOMHTMLLIElement::SetValue(PRInt32 aValue)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : 
     115                 : /* End of implementation class template. */
     116                 : #endif
     117                 : 
     118                 : 
     119                 : #endif /* __gen_nsIDOMHTMLLIElement_h__ */

Generated by: LCOV version 1.7