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

Side by Side Diff: gecko-sdk/include/nsIDOMEntity.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
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/nsIDOMEntity.idl
3 */
4
5 #ifndef __gen_nsIDOMEntity_h__
6 #define __gen_nsIDOMEntity_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: nsIDOMEntity */
19 #define NS_IDOMENTITY_IID_STR "a6cf9079-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMENTITY_IID \
22 {0xa6cf9079, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 class NS_NO_VTABLE nsIDOMEntity : public nsIDOMNode {
26 public:
27
28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMENTITY_IID)
29
30 /**
31 * The nsIDOMEntity interface represents an entity, either parsed
32 * or unparsed, in an XML document.
33 *
34 * For more information on this interface please see
35 * http://www.w3.org/TR/DOM-Level-2-Core/
36 *
37 * @status FROZEN
38 */
39 /* readonly attribute DOMString publicId; */
40 NS_IMETHOD GetPublicId(nsAString & aPublicId) = 0;
41
42 /* readonly attribute DOMString systemId; */
43 NS_IMETHOD GetSystemId(nsAString & aSystemId) = 0;
44
45 /* readonly attribute DOMString notationName; */
46 NS_IMETHOD GetNotationName(nsAString & aNotationName) = 0;
47
48 };
49
50 /* Use this macro when declaring classes that implement this interface. */
51 #define NS_DECL_NSIDOMENTITY \
52 NS_IMETHOD GetPublicId(nsAString & aPublicId); \
53 NS_IMETHOD GetSystemId(nsAString & aSystemId); \
54 NS_IMETHOD GetNotationName(nsAString & aNotationName);
55
56 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
57 #define NS_FORWARD_NSIDOMENTITY(_to) \
58 NS_IMETHOD GetPublicId(nsAString & aPublicId) { return _to GetPublicId(aPublic Id); } \
59 NS_IMETHOD GetSystemId(nsAString & aSystemId) { return _to GetSystemId(aSystem Id); } \
60 NS_IMETHOD GetNotationName(nsAString & aNotationName) { return _to GetNotation Name(aNotationName); }
61
62 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
63 #define NS_FORWARD_SAFE_NSIDOMENTITY(_to) \
64 NS_IMETHOD GetPublicId(nsAString & aPublicId) { return !_to ? NS_ERROR_NULL_PO INTER : _to->GetPublicId(aPublicId); } \
65 NS_IMETHOD GetSystemId(nsAString & aSystemId) { return !_to ? NS_ERROR_NULL_PO INTER : _to->GetSystemId(aSystemId); } \
66 NS_IMETHOD GetNotationName(nsAString & aNotationName) { return !_to ? NS_ERROR _NULL_POINTER : _to->GetNotationName(aNotationName); }
67
68 #if 0
69 /* Use the code below as a template for the implementation class for this interf ace. */
70
71 /* Header file */
72 class nsDOMEntity : public nsIDOMEntity
73 {
74 public:
75 NS_DECL_ISUPPORTS
76 NS_DECL_NSIDOMENTITY
77
78 nsDOMEntity();
79
80 private:
81 ~nsDOMEntity();
82
83 protected:
84 /* additional members */
85 };
86
87 /* Implementation file */
88 NS_IMPL_ISUPPORTS1(nsDOMEntity, nsIDOMEntity)
89
90 nsDOMEntity::nsDOMEntity()
91 {
92 /* member initializers and constructor code */
93 }
94
95 nsDOMEntity::~nsDOMEntity()
96 {
97 /* destructor code */
98 }
99
100 /* readonly attribute DOMString publicId; */
101 NS_IMETHODIMP nsDOMEntity::GetPublicId(nsAString & aPublicId)
102 {
103 return NS_ERROR_NOT_IMPLEMENTED;
104 }
105
106 /* readonly attribute DOMString systemId; */
107 NS_IMETHODIMP nsDOMEntity::GetSystemId(nsAString & aSystemId)
108 {
109 return NS_ERROR_NOT_IMPLEMENTED;
110 }
111
112 /* readonly attribute DOMString notationName; */
113 NS_IMETHODIMP nsDOMEntity::GetNotationName(nsAString & aNotationName)
114 {
115 return NS_ERROR_NOT_IMPLEMENTED;
116 }
117
118 /* End of implementation class template. */
119 #endif
120
121
122 #endif /* __gen_nsIDOMEntity_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMElementCSSInlineStyle.h ('k') | gecko-sdk/include/nsIDOMEntityReference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698