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

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

Powered by Google App Engine
This is Rietveld 408576698