Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLOListElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLOListElement_h__
6 : #define __gen_nsIDOMHTMLOListElement_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: nsIDOMHTMLOListElement */
19 : #define NS_IDOMHTMLOLISTELEMENT_IID_STR "d899642a-53e2-4eb4-9d65-4a666a45ee01"
20 :
21 : #define NS_IDOMHTMLOLISTELEMENT_IID \
22 : {0xd899642a, 0x53e2, 0x4eb4, \
23 : { 0x9d, 0x65, 0x4a, 0x66, 0x6a, 0x45, 0xee, 0x01 }}
24 :
25 1 : class NS_NO_VTABLE nsIDOMHTMLOListElement : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOLISTELEMENT_IID)
29 :
30 : /* attribute boolean compact; */
31 : NS_IMETHOD GetCompact(bool *aCompact) = 0;
32 : NS_IMETHOD SetCompact(bool aCompact) = 0;
33 :
34 : /* attribute boolean reversed; */
35 : NS_IMETHOD GetReversed(bool *aReversed) = 0;
36 : NS_IMETHOD SetReversed(bool aReversed) = 0;
37 :
38 : /* attribute long start; */
39 : NS_IMETHOD GetStart(int32_t *aStart) = 0;
40 : NS_IMETHOD SetStart(int32_t aStart) = 0;
41 :
42 : /* attribute DOMString type; */
43 : NS_IMETHOD GetType(nsAString & aType) = 0;
44 : NS_IMETHOD SetType(const nsAString & aType) = 0;
45 :
46 : };
47 :
48 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLOListElement, NS_IDOMHTMLOLISTELEMENT_IID)
49 :
50 : /* Use this macro when declaring classes that implement this interface. */
51 : #define NS_DECL_NSIDOMHTMLOLISTELEMENT \
52 : NS_IMETHOD GetCompact(bool *aCompact) override; \
53 : NS_IMETHOD SetCompact(bool aCompact) override; \
54 : NS_IMETHOD GetReversed(bool *aReversed) override; \
55 : NS_IMETHOD SetReversed(bool aReversed) override; \
56 : NS_IMETHOD GetStart(int32_t *aStart) override; \
57 : NS_IMETHOD SetStart(int32_t aStart) override; \
58 : NS_IMETHOD GetType(nsAString & aType) override; \
59 : NS_IMETHOD SetType(const nsAString & aType) override;
60 :
61 : /* Use this macro when declaring the members of this interface when the
62 : class doesn't implement the interface. This is useful for forwarding. */
63 : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLOLISTELEMENT \
64 : nsresult GetCompact(bool *aCompact); \
65 : nsresult SetCompact(bool aCompact); \
66 : nsresult GetReversed(bool *aReversed); \
67 : nsresult SetReversed(bool aReversed); \
68 : nsresult GetStart(int32_t *aStart); \
69 : nsresult SetStart(int32_t aStart); \
70 : nsresult GetType(nsAString & aType); \
71 : nsresult SetType(const nsAString & aType);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIDOMHTMLOLISTELEMENT(_to) \
75 : NS_IMETHOD GetCompact(bool *aCompact) override { return _to GetCompact(aCompact); } \
76 : NS_IMETHOD SetCompact(bool aCompact) override { return _to SetCompact(aCompact); } \
77 : NS_IMETHOD GetReversed(bool *aReversed) override { return _to GetReversed(aReversed); } \
78 : NS_IMETHOD SetReversed(bool aReversed) override { return _to SetReversed(aReversed); } \
79 : NS_IMETHOD GetStart(int32_t *aStart) override { return _to GetStart(aStart); } \
80 : NS_IMETHOD SetStart(int32_t aStart) override { return _to SetStart(aStart); } \
81 : NS_IMETHOD GetType(nsAString & aType) override { return _to GetType(aType); } \
82 : NS_IMETHOD SetType(const nsAString & aType) override { return _to SetType(aType); }
83 :
84 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
85 : #define NS_FORWARD_SAFE_NSIDOMHTMLOLISTELEMENT(_to) \
86 : NS_IMETHOD GetCompact(bool *aCompact) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompact(aCompact); } \
87 : NS_IMETHOD SetCompact(bool aCompact) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompact(aCompact); } \
88 : NS_IMETHOD GetReversed(bool *aReversed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReversed(aReversed); } \
89 : NS_IMETHOD SetReversed(bool aReversed) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReversed(aReversed); } \
90 : NS_IMETHOD GetStart(int32_t *aStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStart(aStart); } \
91 : NS_IMETHOD SetStart(int32_t aStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(aStart); } \
92 : NS_IMETHOD GetType(nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
93 : NS_IMETHOD SetType(const nsAString & aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); }
94 :
95 : #if 0
96 : /* Use the code below as a template for the implementation class for this interface. */
97 :
98 : /* Header file */
99 : class nsDOMHTMLOListElement : public nsIDOMHTMLOListElement
100 : {
101 : public:
102 : NS_DECL_ISUPPORTS
103 : NS_DECL_NSIDOMHTMLOLISTELEMENT
104 :
105 : nsDOMHTMLOListElement();
106 :
107 : private:
108 : ~nsDOMHTMLOListElement();
109 :
110 : protected:
111 : /* additional members */
112 : };
113 :
114 : /* Implementation file */
115 : NS_IMPL_ISUPPORTS(nsDOMHTMLOListElement, nsIDOMHTMLOListElement)
116 :
117 : nsDOMHTMLOListElement::nsDOMHTMLOListElement()
118 : {
119 : /* member initializers and constructor code */
120 : }
121 :
122 : nsDOMHTMLOListElement::~nsDOMHTMLOListElement()
123 : {
124 : /* destructor code */
125 : }
126 :
127 : /* attribute boolean compact; */
128 : NS_IMETHODIMP nsDOMHTMLOListElement::GetCompact(bool *aCompact)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 : NS_IMETHODIMP nsDOMHTMLOListElement::SetCompact(bool aCompact)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* attribute boolean reversed; */
138 : NS_IMETHODIMP nsDOMHTMLOListElement::GetReversed(bool *aReversed)
139 : {
140 : return NS_ERROR_NOT_IMPLEMENTED;
141 : }
142 : NS_IMETHODIMP nsDOMHTMLOListElement::SetReversed(bool aReversed)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 :
147 : /* attribute long start; */
148 : NS_IMETHODIMP nsDOMHTMLOListElement::GetStart(int32_t *aStart)
149 : {
150 : return NS_ERROR_NOT_IMPLEMENTED;
151 : }
152 : NS_IMETHODIMP nsDOMHTMLOListElement::SetStart(int32_t aStart)
153 : {
154 : return NS_ERROR_NOT_IMPLEMENTED;
155 : }
156 :
157 : /* attribute DOMString type; */
158 : NS_IMETHODIMP nsDOMHTMLOListElement::GetType(nsAString & aType)
159 : {
160 : return NS_ERROR_NOT_IMPLEMENTED;
161 : }
162 : NS_IMETHODIMP nsDOMHTMLOListElement::SetType(const nsAString & aType)
163 : {
164 : return NS_ERROR_NOT_IMPLEMENTED;
165 : }
166 :
167 : /* End of implementation class template. */
168 : #endif
169 :
170 :
171 : #endif /* __gen_nsIDOMHTMLOListElement_h__ */
|