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

Side by Side Diff: gecko-sdk/include/nsIDOMDocumentType.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/nsIDOMDocumentStyle.h ('k') | gecko-sdk/include/nsIDOMDocumentView.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/core/nsIDOMDocumentType.idl
3 */
4
5 #ifndef __gen_nsIDOMDocumentType_h__
6 #define __gen_nsIDOMDocumentType_h__
7
8
9 #ifndef __gen_nsIDOMNode_h__
10 #include "nsIDOMNode.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: nsIDOMDocumentType */
19 #define NS_IDOMDOCUMENTTYPE_IID_STR "a6cf9077-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMDOCUMENTTYPE_IID \
22 {0xa6cf9077, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 class NS_NO_VTABLE nsIDOMDocumentType : public nsIDOMNode {
26 public:
27
28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTTYPE_IID)
29
30 /**
31 * Each Document has a doctype attribute whose value is either null
32 * or a DocumentType object.
33 * The nsIDOMDocumentType interface in the DOM Core provides an
34 * interface to the list of entities that are defined for the document.
35 *
36 * For more information on this interface please see
37 * http://www.w3.org/TR/DOM-Level-2-Core/
38 *
39 * @status FROZEN
40 */
41 /* readonly attribute DOMString name; */
42 NS_IMETHOD GetName(nsAString & aName) = 0;
43
44 /* readonly attribute nsIDOMNamedNodeMap entities; */
45 NS_IMETHOD GetEntities(nsIDOMNamedNodeMap * *aEntities) = 0;
46
47 /* readonly attribute nsIDOMNamedNodeMap notations; */
48 NS_IMETHOD GetNotations(nsIDOMNamedNodeMap * *aNotations) = 0;
49
50 /* readonly attribute DOMString publicId; */
51 NS_IMETHOD GetPublicId(nsAString & aPublicId) = 0;
52
53 /* readonly attribute DOMString systemId; */
54 NS_IMETHOD GetSystemId(nsAString & aSystemId) = 0;
55
56 /* readonly attribute DOMString internalSubset; */
57 NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset) = 0;
58
59 };
60
61 /* Use this macro when declaring classes that implement this interface. */
62 #define NS_DECL_NSIDOMDOCUMENTTYPE \
63 NS_IMETHOD GetName(nsAString & aName); \
64 NS_IMETHOD GetEntities(nsIDOMNamedNodeMap * *aEntities); \
65 NS_IMETHOD GetNotations(nsIDOMNamedNodeMap * *aNotations); \
66 NS_IMETHOD GetPublicId(nsAString & aPublicId); \
67 NS_IMETHOD GetSystemId(nsAString & aSystemId); \
68 NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset);
69
70 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
71 #define NS_FORWARD_NSIDOMDOCUMENTTYPE(_to) \
72 NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
73 NS_IMETHOD GetEntities(nsIDOMNamedNodeMap * *aEntities) { return _to GetEntiti es(aEntities); } \
74 NS_IMETHOD GetNotations(nsIDOMNamedNodeMap * *aNotations) { return _to GetNota tions(aNotations); } \
75 NS_IMETHOD GetPublicId(nsAString & aPublicId) { return _to GetPublicId(aPublic Id); } \
76 NS_IMETHOD GetSystemId(nsAString & aSystemId) { return _to GetSystemId(aSystem Id); } \
77 NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset) { return _to GetInte rnalSubset(aInternalSubset); }
78
79 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
80 #define NS_FORWARD_SAFE_NSIDOMDOCUMENTTYPE(_to) \
81 NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
82 NS_IMETHOD GetEntities(nsIDOMNamedNodeMap * *aEntities) { return !_to ? NS_ERR OR_NULL_POINTER : _to->GetEntities(aEntities); } \
83 NS_IMETHOD GetNotations(nsIDOMNamedNodeMap * *aNotations) { return !_to ? NS_E RROR_NULL_POINTER : _to->GetNotations(aNotations); } \
84 NS_IMETHOD GetPublicId(nsAString & aPublicId) { return !_to ? NS_ERROR_NULL_PO INTER : _to->GetPublicId(aPublicId); } \
85 NS_IMETHOD GetSystemId(nsAString & aSystemId) { return !_to ? NS_ERROR_NULL_PO INTER : _to->GetSystemId(aSystemId); } \
86 NS_IMETHOD GetInternalSubset(nsAString & aInternalSubset) { return !_to ? NS_E RROR_NULL_POINTER : _to->GetInternalSubset(aInternalSubset); }
87
88 #if 0
89 /* Use the code below as a template for the implementation class for this interf ace. */
90
91 /* Header file */
92 class nsDOMDocumentType : public nsIDOMDocumentType
93 {
94 public:
95 NS_DECL_ISUPPORTS
96 NS_DECL_NSIDOMDOCUMENTTYPE
97
98 nsDOMDocumentType();
99
100 private:
101 ~nsDOMDocumentType();
102
103 protected:
104 /* additional members */
105 };
106
107 /* Implementation file */
108 NS_IMPL_ISUPPORTS1(nsDOMDocumentType, nsIDOMDocumentType)
109
110 nsDOMDocumentType::nsDOMDocumentType()
111 {
112 /* member initializers and constructor code */
113 }
114
115 nsDOMDocumentType::~nsDOMDocumentType()
116 {
117 /* destructor code */
118 }
119
120 /* readonly attribute DOMString name; */
121 NS_IMETHODIMP nsDOMDocumentType::GetName(nsAString & aName)
122 {
123 return NS_ERROR_NOT_IMPLEMENTED;
124 }
125
126 /* readonly attribute nsIDOMNamedNodeMap entities; */
127 NS_IMETHODIMP nsDOMDocumentType::GetEntities(nsIDOMNamedNodeMap * *aEntities)
128 {
129 return NS_ERROR_NOT_IMPLEMENTED;
130 }
131
132 /* readonly attribute nsIDOMNamedNodeMap notations; */
133 NS_IMETHODIMP nsDOMDocumentType::GetNotations(nsIDOMNamedNodeMap * *aNotations)
134 {
135 return NS_ERROR_NOT_IMPLEMENTED;
136 }
137
138 /* readonly attribute DOMString publicId; */
139 NS_IMETHODIMP nsDOMDocumentType::GetPublicId(nsAString & aPublicId)
140 {
141 return NS_ERROR_NOT_IMPLEMENTED;
142 }
143
144 /* readonly attribute DOMString systemId; */
145 NS_IMETHODIMP nsDOMDocumentType::GetSystemId(nsAString & aSystemId)
146 {
147 return NS_ERROR_NOT_IMPLEMENTED;
148 }
149
150 /* readonly attribute DOMString internalSubset; */
151 NS_IMETHODIMP nsDOMDocumentType::GetInternalSubset(nsAString & aInternalSubset)
152 {
153 return NS_ERROR_NOT_IMPLEMENTED;
154 }
155
156 /* End of implementation class template. */
157 #endif
158
159
160 #endif /* __gen_nsIDOMDocumentType_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMDocumentStyle.h ('k') | gecko-sdk/include/nsIDOMDocumentView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698