1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/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 "c919bc49-bd49-4b89-ba70-5c74c4ef504a"
20 :
21 : #define NS_IDOMHTMLMAPELEMENT_IID \
22 : {0xc919bc49, 0xbd49, 0x4b89, \
23 : { 0xba, 0x70, 0x5c, 0x74, 0xc4, 0xef, 0x50, 0x4a }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLMapElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMAPELEMENT_IID)
29 :
30 : /* readonly attribute nsIDOMHTMLCollection areas; */
31 : NS_SCRIPTABLE NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) = 0;
32 :
33 : /* attribute DOMString name; */
34 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
35 : NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas); \
44 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
45 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName);
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
48 : #define NS_FORWARD_NSIDOMHTMLMAPELEMENT(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) { return _to GetAreas(aAreas); } \
50 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
51 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); }
52 :
53 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
54 : #define NS_FORWARD_SAFE_NSIDOMHTMLMAPELEMENT(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD GetAreas(nsIDOMHTMLCollection * *aAreas) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAreas(aAreas); } \
56 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
57 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsDOMHTMLMapElement : public nsIDOMHTMLMapElement
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMHTMLMAPELEMENT
68 :
69 : nsDOMHTMLMapElement();
70 :
71 : private:
72 : ~nsDOMHTMLMapElement();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsDOMHTMLMapElement, nsIDOMHTMLMapElement)
80 :
81 : nsDOMHTMLMapElement::nsDOMHTMLMapElement()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMHTMLMapElement::~nsDOMHTMLMapElement()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* readonly attribute nsIDOMHTMLCollection areas; */
92 : NS_IMETHODIMP nsDOMHTMLMapElement::GetAreas(nsIDOMHTMLCollection * *aAreas)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* attribute DOMString name; */
98 : NS_IMETHODIMP nsDOMHTMLMapElement::GetName(nsAString & aName)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 : NS_IMETHODIMP nsDOMHTMLMapElement::SetName(const nsAString & aName)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* End of implementation class template. */
108 : #endif
109 :
110 :
111 : #endif /* __gen_nsIDOMHTMLMapElement_h__ */
|