1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLLabelElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLLabelElement_h__
6 : #define __gen_nsIDOMHTMLLabelElement_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: nsIDOMHTMLLabelElement */
19 : #define NS_IDOMHTMLLABELELEMENT_IID_STR "ddbca449-625d-467c-a22d-7887474f9eb9"
20 :
21 : #define NS_IDOMHTMLLABELELEMENT_IID \
22 : {0xddbca449, 0x625d, 0x467c, \
23 : { 0xa2, 0x2d, 0x78, 0x87, 0x47, 0x4f, 0x9e, 0xb9 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLLabelElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLLABELELEMENT_IID)
29 :
30 : /* readonly attribute nsIDOMHTMLFormElement form; */
31 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
32 :
33 : /* attribute DOMString htmlFor; */
34 : NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) = 0;
35 : NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) = 0;
36 :
37 : /* readonly attribute nsIDOMHTMLElement control; */
38 : NS_SCRIPTABLE NS_IMETHOD GetControl(nsIDOMHTMLElement * *aControl) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLLabelElement, NS_IDOMHTMLLABELELEMENT_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSIDOMHTMLLABELELEMENT \
46 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
47 : NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor); \
48 : NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor); \
49 : NS_SCRIPTABLE NS_IMETHOD GetControl(nsIDOMHTMLElement * *aControl);
50 :
51 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
52 : #define NS_FORWARD_NSIDOMHTMLLABELELEMENT(_to) \
53 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
54 : NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
55 : NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) { return _to SetHtmlFor(aHtmlFor); } \
56 : NS_SCRIPTABLE NS_IMETHOD GetControl(nsIDOMHTMLElement * *aControl) { return _to GetControl(aControl); }
57 :
58 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
59 : #define NS_FORWARD_SAFE_NSIDOMHTMLLABELELEMENT(_to) \
60 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
61 : NS_SCRIPTABLE NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlFor(aHtmlFor); } \
62 : NS_SCRIPTABLE NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlFor(aHtmlFor); } \
63 : NS_SCRIPTABLE NS_IMETHOD GetControl(nsIDOMHTMLElement * *aControl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControl(aControl); }
64 :
65 : #if 0
66 : /* Use the code below as a template for the implementation class for this interface. */
67 :
68 : /* Header file */
69 : class nsDOMHTMLLabelElement : public nsIDOMHTMLLabelElement
70 : {
71 : public:
72 : NS_DECL_ISUPPORTS
73 : NS_DECL_NSIDOMHTMLLABELELEMENT
74 :
75 : nsDOMHTMLLabelElement();
76 :
77 : private:
78 : ~nsDOMHTMLLabelElement();
79 :
80 : protected:
81 : /* additional members */
82 : };
83 :
84 : /* Implementation file */
85 : NS_IMPL_ISUPPORTS1(nsDOMHTMLLabelElement, nsIDOMHTMLLabelElement)
86 :
87 : nsDOMHTMLLabelElement::nsDOMHTMLLabelElement()
88 : {
89 : /* member initializers and constructor code */
90 : }
91 :
92 : nsDOMHTMLLabelElement::~nsDOMHTMLLabelElement()
93 : {
94 : /* destructor code */
95 : }
96 :
97 : /* readonly attribute nsIDOMHTMLFormElement form; */
98 : NS_IMETHODIMP nsDOMHTMLLabelElement::GetForm(nsIDOMHTMLFormElement * *aForm)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* attribute DOMString htmlFor; */
104 : NS_IMETHODIMP nsDOMHTMLLabelElement::GetHtmlFor(nsAString & aHtmlFor)
105 : {
106 : return NS_ERROR_NOT_IMPLEMENTED;
107 : }
108 : NS_IMETHODIMP nsDOMHTMLLabelElement::SetHtmlFor(const nsAString & aHtmlFor)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* readonly attribute nsIDOMHTMLElement control; */
114 : NS_IMETHODIMP nsDOMHTMLLabelElement::GetControl(nsIDOMHTMLElement * *aControl)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* End of implementation class template. */
120 : #endif
121 :
122 :
123 : #endif /* __gen_nsIDOMHTMLLabelElement_h__ */
|