LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMHTMLMapElement.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/nsIDOMHTMLMapElement.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMHTMLMapElement_h__
       6             : #define __gen_nsIDOMHTMLMapElement_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:    nsIDOMHTMLMapElement */
      19             : #define NS_IDOMHTMLMAPELEMENT_IID_STR "3f49f8c6-2e9d-4323-b30c-2404d5ff1f57"
      20             : 
      21             : #define NS_IDOMHTMLMAPELEMENT_IID \
      22             :   {0x3f49f8c6, 0x2e9d, 0x4323, \
      23             :     { 0xb3, 0x0c, 0x24, 0x04, 0xd5, 0xff, 0x1f, 0x57 }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMHTMLMapElement : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMAPELEMENT_IID)
      29             : 
      30             :   /* readonly attribute nsIDOMHTMLCollection areas; */
      31             :   NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) = 0;
      32             : 
      33             :   /* attribute DOMString name; */
      34             :   NS_IMETHOD GetName(nsAString & aName) = 0;
      35             :   NS_IMETHOD SetName(const nsAString & aName) = 0;
      36             : 
      37             : };
      38             : 
      39             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLMapElement, NS_IDOMHTMLMAPELEMENT_IID)
      40             : 
      41             : /* Use this macro when declaring classes that implement this interface. */
      42             : #define NS_DECL_NSIDOMHTMLMAPELEMENT \
      43             :   NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) override; \
      44             :   NS_IMETHOD GetName(nsAString & aName) override; \
      45             :   NS_IMETHOD SetName(const nsAString & aName) override; 
      46             : 
      47             : /* Use this macro when declaring the members of this interface when the
      48             :    class doesn't implement the interface. This is useful for forwarding. */
      49             : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLMAPELEMENT \
      50             :   nsresult GetAreas(nsIDOMHTMLCollection * *aAreas); \
      51             :   nsresult GetName(nsAString & aName); \
      52             :   nsresult SetName(const nsAString & aName); 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      55             : #define NS_FORWARD_NSIDOMHTMLMAPELEMENT(_to) \
      56             :   NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) override { return _to GetAreas(aAreas); } \
      57             :   NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
      58             :   NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } 
      59             : 
      60             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61             : #define NS_FORWARD_SAFE_NSIDOMHTMLMAPELEMENT(_to) \
      62             :   NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAreas(aAreas); } \
      63             :   NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
      64             :   NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } 
      65             : 
      66             : #if 0
      67             : /* Use the code below as a template for the implementation class for this interface. */
      68             : 
      69             : /* Header file */
      70             : class nsDOMHTMLMapElement : public nsIDOMHTMLMapElement
      71             : {
      72             : public:
      73             :   NS_DECL_ISUPPORTS
      74             :   NS_DECL_NSIDOMHTMLMAPELEMENT
      75             : 
      76             :   nsDOMHTMLMapElement();
      77             : 
      78             : private:
      79             :   ~nsDOMHTMLMapElement();
      80             : 
      81             : protected:
      82             :   /* additional members */
      83             : };
      84             : 
      85             : /* Implementation file */
      86             : NS_IMPL_ISUPPORTS(nsDOMHTMLMapElement, nsIDOMHTMLMapElement)
      87             : 
      88             : nsDOMHTMLMapElement::nsDOMHTMLMapElement()
      89             : {
      90             :   /* member initializers and constructor code */
      91             : }
      92             : 
      93             : nsDOMHTMLMapElement::~nsDOMHTMLMapElement()
      94             : {
      95             :   /* destructor code */
      96             : }
      97             : 
      98             : /* readonly attribute nsIDOMHTMLCollection areas; */
      99             : NS_IMETHODIMP nsDOMHTMLMapElement::GetAreas(nsIDOMHTMLCollection * *aAreas)
     100             : {
     101             :     return NS_ERROR_NOT_IMPLEMENTED;
     102             : }
     103             : 
     104             : /* attribute DOMString name; */
     105             : NS_IMETHODIMP nsDOMHTMLMapElement::GetName(nsAString & aName)
     106             : {
     107             :     return NS_ERROR_NOT_IMPLEMENTED;
     108             : }
     109             : NS_IMETHODIMP nsDOMHTMLMapElement::SetName(const nsAString & aName)
     110             : {
     111             :     return NS_ERROR_NOT_IMPLEMENTED;
     112             : }
     113             : 
     114             : /* End of implementation class template. */
     115             : #endif
     116             : 
     117             : 
     118             : #endif /* __gen_nsIDOMHTMLMapElement_h__ */

Generated by: LCOV version 1.13