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

Side by Side Diff: gecko-sdk/include/nsIDOMProcessingInstruction.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/nsIDOMNotation.h ('k') | gecko-sdk/include/nsIDOMRange.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/nsIDOMProcessingInstructio n.idl
3 */
4
5 #ifndef __gen_nsIDOMProcessingInstruction_h__
6 #define __gen_nsIDOMProcessingInstruction_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: nsIDOMProcessingInstruction */
19 #define NS_IDOMPROCESSINGINSTRUCTION_IID_STR "a6cf907f-15b3-11d2-932e-00805f8add 32"
20
21 #define NS_IDOMPROCESSINGINSTRUCTION_IID \
22 {0xa6cf907f, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 class NS_NO_VTABLE nsIDOMProcessingInstruction : public nsIDOMNode {
26 public:
27
28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMPROCESSINGINSTRUCTION_IID)
29
30 /**
31 * The nsIDOMProcessingInstruction interface represents a
32 * "processing instruction", used in XML as a way to keep processor-specific
33 * information in the text of the document.
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 target; */
41 NS_IMETHOD GetTarget(nsAString & aTarget) = 0;
42
43 /* attribute DOMString data; */
44 NS_IMETHOD GetData(nsAString & aData) = 0;
45 NS_IMETHOD SetData(const nsAString & aData) = 0;
46
47 };
48
49 /* Use this macro when declaring classes that implement this interface. */
50 #define NS_DECL_NSIDOMPROCESSINGINSTRUCTION \
51 NS_IMETHOD GetTarget(nsAString & aTarget); \
52 NS_IMETHOD GetData(nsAString & aData); \
53 NS_IMETHOD SetData(const nsAString & aData);
54
55 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
56 #define NS_FORWARD_NSIDOMPROCESSINGINSTRUCTION(_to) \
57 NS_IMETHOD GetTarget(nsAString & aTarget) { return _to GetTarget(aTarget); } \
58 NS_IMETHOD GetData(nsAString & aData) { return _to GetData(aData); } \
59 NS_IMETHOD SetData(const nsAString & aData) { return _to SetData(aData); }
60
61 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
62 #define NS_FORWARD_SAFE_NSIDOMPROCESSINGINSTRUCTION(_to) \
63 NS_IMETHOD GetTarget(nsAString & aTarget) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetTarget(aTarget); } \
64 NS_IMETHOD GetData(nsAString & aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(aData); } \
65 NS_IMETHOD SetData(const nsAString & aData) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetData(aData); }
66
67 #if 0
68 /* Use the code below as a template for the implementation class for this interf ace. */
69
70 /* Header file */
71 class nsDOMProcessingInstruction : public nsIDOMProcessingInstruction
72 {
73 public:
74 NS_DECL_ISUPPORTS
75 NS_DECL_NSIDOMPROCESSINGINSTRUCTION
76
77 nsDOMProcessingInstruction();
78
79 private:
80 ~nsDOMProcessingInstruction();
81
82 protected:
83 /* additional members */
84 };
85
86 /* Implementation file */
87 NS_IMPL_ISUPPORTS1(nsDOMProcessingInstruction, nsIDOMProcessingInstruction)
88
89 nsDOMProcessingInstruction::nsDOMProcessingInstruction()
90 {
91 /* member initializers and constructor code */
92 }
93
94 nsDOMProcessingInstruction::~nsDOMProcessingInstruction()
95 {
96 /* destructor code */
97 }
98
99 /* readonly attribute DOMString target; */
100 NS_IMETHODIMP nsDOMProcessingInstruction::GetTarget(nsAString & aTarget)
101 {
102 return NS_ERROR_NOT_IMPLEMENTED;
103 }
104
105 /* attribute DOMString data; */
106 NS_IMETHODIMP nsDOMProcessingInstruction::GetData(nsAString & aData)
107 {
108 return NS_ERROR_NOT_IMPLEMENTED;
109 }
110 NS_IMETHODIMP nsDOMProcessingInstruction::SetData(const nsAString & aData)
111 {
112 return NS_ERROR_NOT_IMPLEMENTED;
113 }
114
115 /* End of implementation class template. */
116 #endif
117
118
119 #endif /* __gen_nsIDOMProcessingInstruction_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMNotation.h ('k') | gecko-sdk/include/nsIDOMRange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698