1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLLegendElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLLegendElement_h__
6 : #define __gen_nsIDOMHTMLLegendElement_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: nsIDOMHTMLLegendElement */
19 : #define NS_IDOMHTMLLEGENDELEMENT_IID_STR "dac72753-6919-414b-b771-9e1e86e7749c"
20 :
21 : #define NS_IDOMHTMLLEGENDELEMENT_IID \
22 : {0xdac72753, 0x6919, 0x414b, \
23 : { 0xb7, 0x71, 0x9e, 0x1e, 0x86, 0xe7, 0x74, 0x9c }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLLegendElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLLEGENDELEMENT_IID)
29 :
30 : /* readonly attribute nsIDOMHTMLFormElement form; */
31 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
32 :
33 : /* attribute DOMString align; */
34 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
35 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLLegendElement, NS_IDOMHTMLLEGENDELEMENT_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSIDOMHTMLLEGENDELEMENT \
43 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
44 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
45 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign);
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
48 : #define NS_FORWARD_NSIDOMHTMLLEGENDELEMENT(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
50 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
51 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); }
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_NSIDOMHTMLLEGENDELEMENT(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
56 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
57 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); }
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 nsDOMHTMLLegendElement : public nsIDOMHTMLLegendElement
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMHTMLLEGENDELEMENT
68 :
69 : nsDOMHTMLLegendElement();
70 :
71 : private:
72 : ~nsDOMHTMLLegendElement();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsDOMHTMLLegendElement, nsIDOMHTMLLegendElement)
80 :
81 : nsDOMHTMLLegendElement::nsDOMHTMLLegendElement()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMHTMLLegendElement::~nsDOMHTMLLegendElement()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* readonly attribute nsIDOMHTMLFormElement form; */
92 : NS_IMETHODIMP nsDOMHTMLLegendElement::GetForm(nsIDOMHTMLFormElement * *aForm)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* attribute DOMString align; */
98 : NS_IMETHODIMP nsDOMHTMLLegendElement::GetAlign(nsAString & aAlign)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 : NS_IMETHODIMP nsDOMHTMLLegendElement::SetAlign(const nsAString & aAlign)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* End of implementation class template. */
108 : #endif
109 :
110 :
111 : #endif /* __gen_nsIDOMHTMLLegendElement_h__ */
|