1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLParamElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLParamElement_h__
6 : #define __gen_nsIDOMHTMLParamElement_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: nsIDOMHTMLParamElement */
19 : #define NS_IDOMHTMLPARAMELEMENT_IID_STR "d832b1ac-9bb6-4df0-9d9e-f7c040759672"
20 :
21 : #define NS_IDOMHTMLPARAMELEMENT_IID \
22 : {0xd832b1ac, 0x9bb6, 0x4df0, \
23 : { 0x9d, 0x9e, 0xf7, 0xc0, 0x40, 0x75, 0x96, 0x72 }}
24 :
25 470 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLParamElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLPARAMELEMENT_IID)
29 :
30 : /* attribute DOMString name; */
31 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
33 :
34 : /* attribute DOMString type; */
35 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
37 :
38 : /* attribute DOMString value; */
39 : NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
40 : NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;
41 :
42 : /* attribute DOMString valueType; */
43 : NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) = 0;
44 : NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) = 0;
45 :
46 : };
47 :
48 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLParamElement, NS_IDOMHTMLPARAMELEMENT_IID)
49 :
50 : /* Use this macro when declaring classes that implement this interface. */
51 : #define NS_DECL_NSIDOMHTMLPARAMELEMENT \
52 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
53 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
54 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
55 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType); \
56 : NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
57 : NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); \
58 : NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType); \
59 : NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType);
60 :
61 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
62 : #define NS_FORWARD_NSIDOMHTMLPARAMELEMENT(_to) \
63 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
64 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
65 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
66 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
67 : NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
68 : NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
69 : NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) { return _to GetValueType(aValueType); } \
70 : NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) { return _to SetValueType(aValueType); }
71 :
72 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
73 : #define NS_FORWARD_SAFE_NSIDOMHTMLPARAMELEMENT(_to) \
74 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
75 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
76 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
77 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
78 : NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
79 : NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
80 : NS_SCRIPTABLE NS_IMETHOD GetValueType(nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueType(aValueType); } \
81 : NS_SCRIPTABLE NS_IMETHOD SetValueType(const nsAString & aValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueType(aValueType); }
82 :
83 : #if 0
84 : /* Use the code below as a template for the implementation class for this interface. */
85 :
86 : /* Header file */
87 : class nsDOMHTMLParamElement : public nsIDOMHTMLParamElement
88 : {
89 : public:
90 : NS_DECL_ISUPPORTS
91 : NS_DECL_NSIDOMHTMLPARAMELEMENT
92 :
93 : nsDOMHTMLParamElement();
94 :
95 : private:
96 : ~nsDOMHTMLParamElement();
97 :
98 : protected:
99 : /* additional members */
100 : };
101 :
102 : /* Implementation file */
103 : NS_IMPL_ISUPPORTS1(nsDOMHTMLParamElement, nsIDOMHTMLParamElement)
104 :
105 : nsDOMHTMLParamElement::nsDOMHTMLParamElement()
106 : {
107 : /* member initializers and constructor code */
108 : }
109 :
110 : nsDOMHTMLParamElement::~nsDOMHTMLParamElement()
111 : {
112 : /* destructor code */
113 : }
114 :
115 : /* attribute DOMString name; */
116 : NS_IMETHODIMP nsDOMHTMLParamElement::GetName(nsAString & aName)
117 : {
118 : return NS_ERROR_NOT_IMPLEMENTED;
119 : }
120 : NS_IMETHODIMP nsDOMHTMLParamElement::SetName(const nsAString & aName)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* attribute DOMString type; */
126 : NS_IMETHODIMP nsDOMHTMLParamElement::GetType(nsAString & aType)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 : NS_IMETHODIMP nsDOMHTMLParamElement::SetType(const nsAString & aType)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* attribute DOMString value; */
136 : NS_IMETHODIMP nsDOMHTMLParamElement::GetValue(nsAString & aValue)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 : NS_IMETHODIMP nsDOMHTMLParamElement::SetValue(const nsAString & aValue)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* attribute DOMString valueType; */
146 : NS_IMETHODIMP nsDOMHTMLParamElement::GetValueType(nsAString & aValueType)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 : NS_IMETHODIMP nsDOMHTMLParamElement::SetValueType(const nsAString & aValueType)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* End of implementation class template. */
156 : #endif
157 :
158 :
159 : #endif /* __gen_nsIDOMHTMLParamElement_h__ */
|