Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLOListElement.h

Issue 20346: Version 1.8 of gecko-sdk. Downloaded from here:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLModElement.h ('k') | gecko-sdk/include/nsIDOMHTMLObjectElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0 -Release/WINNT_5.2_Depend/mozilla/dom/public/idl/html/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 "a6cf909a-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLOLISTELEMENT_IID \
22 {0xa6cf909a, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLOListElement interface is the interface to a [X]HTML
27 * ol element.
28 *
29 * For more information on this interface please see
30 * http://www.w3.org/TR/DOM-Level-2-HTML/
31 *
32 * @status FROZEN
33 */
34 class NS_NO_VTABLE nsIDOMHTMLOListElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLOLISTELEMENT_IID)
38
39 /* attribute boolean compact; */
40 NS_IMETHOD GetCompact(PRBool *aCompact) = 0;
41 NS_IMETHOD SetCompact(PRBool aCompact) = 0;
42
43 /* attribute long start; */
44 NS_IMETHOD GetStart(PRInt32 *aStart) = 0;
45 NS_IMETHOD SetStart(PRInt32 aStart) = 0;
46
47 /* attribute DOMString type; */
48 NS_IMETHOD GetType(nsAString & aType) = 0;
49 NS_IMETHOD SetType(const nsAString & aType) = 0;
50
51 };
52
53 /* Use this macro when declaring classes that implement this interface. */
54 #define NS_DECL_NSIDOMHTMLOLISTELEMENT \
55 NS_IMETHOD GetCompact(PRBool *aCompact); \
56 NS_IMETHOD SetCompact(PRBool aCompact); \
57 NS_IMETHOD GetStart(PRInt32 *aStart); \
58 NS_IMETHOD SetStart(PRInt32 aStart); \
59 NS_IMETHOD GetType(nsAString & aType); \
60 NS_IMETHOD SetType(const nsAString & aType);
61
62 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
63 #define NS_FORWARD_NSIDOMHTMLOLISTELEMENT(_to) \
64 NS_IMETHOD GetCompact(PRBool *aCompact) { return _to GetCompact(aCompact); } \
65 NS_IMETHOD SetCompact(PRBool aCompact) { return _to SetCompact(aCompact); } \
66 NS_IMETHOD GetStart(PRInt32 *aStart) { return _to GetStart(aStart); } \
67 NS_IMETHOD SetStart(PRInt32 aStart) { return _to SetStart(aStart); } \
68 NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
69 NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); }
70
71 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
72 #define NS_FORWARD_SAFE_NSIDOMHTMLOLISTELEMENT(_to) \
73 NS_IMETHOD GetCompact(PRBool *aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompact(aCompact); } \
74 NS_IMETHOD SetCompact(PRBool aCompact) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompact(aCompact); } \
75 NS_IMETHOD GetStart(PRInt32 *aStart) { return !_to ? NS_ERROR_NULL_POINTER : _ to->GetStart(aStart); } \
76 NS_IMETHOD SetStart(PRInt32 aStart) { return !_to ? NS_ERROR_NULL_POINTER : _t o->SetStart(aStart); } \
77 NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
78 NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetType(aType); }
79
80 #if 0
81 /* Use the code below as a template for the implementation class for this interf ace. */
82
83 /* Header file */
84 class nsDOMHTMLOListElement : public nsIDOMHTMLOListElement
85 {
86 public:
87 NS_DECL_ISUPPORTS
88 NS_DECL_NSIDOMHTMLOLISTELEMENT
89
90 nsDOMHTMLOListElement();
91
92 private:
93 ~nsDOMHTMLOListElement();
94
95 protected:
96 /* additional members */
97 };
98
99 /* Implementation file */
100 NS_IMPL_ISUPPORTS1(nsDOMHTMLOListElement, nsIDOMHTMLOListElement)
101
102 nsDOMHTMLOListElement::nsDOMHTMLOListElement()
103 {
104 /* member initializers and constructor code */
105 }
106
107 nsDOMHTMLOListElement::~nsDOMHTMLOListElement()
108 {
109 /* destructor code */
110 }
111
112 /* attribute boolean compact; */
113 NS_IMETHODIMP nsDOMHTMLOListElement::GetCompact(PRBool *aCompact)
114 {
115 return NS_ERROR_NOT_IMPLEMENTED;
116 }
117 NS_IMETHODIMP nsDOMHTMLOListElement::SetCompact(PRBool aCompact)
118 {
119 return NS_ERROR_NOT_IMPLEMENTED;
120 }
121
122 /* attribute long start; */
123 NS_IMETHODIMP nsDOMHTMLOListElement::GetStart(PRInt32 *aStart)
124 {
125 return NS_ERROR_NOT_IMPLEMENTED;
126 }
127 NS_IMETHODIMP nsDOMHTMLOListElement::SetStart(PRInt32 aStart)
128 {
129 return NS_ERROR_NOT_IMPLEMENTED;
130 }
131
132 /* attribute DOMString type; */
133 NS_IMETHODIMP nsDOMHTMLOListElement::GetType(nsAString & aType)
134 {
135 return NS_ERROR_NOT_IMPLEMENTED;
136 }
137 NS_IMETHODIMP nsDOMHTMLOListElement::SetType(const nsAString & aType)
138 {
139 return NS_ERROR_NOT_IMPLEMENTED;
140 }
141
142 /* End of implementation class template. */
143 #endif
144
145
146 #endif /* __gen_nsIDOMHTMLOListElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLModElement.h ('k') | gecko-sdk/include/nsIDOMHTMLObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698