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

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLModElement.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/nsIDOMHTMLMetaElement.h ('k') | gecko-sdk/include/nsIDOMHTMLOListElement.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/nsIDOMHTMLModElement.idl
3 */
4
5 #ifndef __gen_nsIDOMHTMLModElement_h__
6 #define __gen_nsIDOMHTMLModElement_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: nsIDOMHTMLModElement */
19 #define NS_IDOMHTMLMODELEMENT_IID_STR "a6cf90a9-15b3-11d2-932e-00805f8add32"
20
21 #define NS_IDOMHTMLMODELEMENT_IID \
22 {0xa6cf90a9, 0x15b3, 0x11d2, \
23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
24
25 /**
26 * The nsIDOMHTMLModElement interface is the interface to a [X]HTML
27 * ins and del 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 nsIDOMHTMLModElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMODELEMENT_IID)
38
39 /* attribute DOMString cite; */
40 NS_IMETHOD GetCite(nsAString & aCite) = 0;
41 NS_IMETHOD SetCite(const nsAString & aCite) = 0;
42
43 /* attribute DOMString dateTime; */
44 NS_IMETHOD GetDateTime(nsAString & aDateTime) = 0;
45 NS_IMETHOD SetDateTime(const nsAString & aDateTime) = 0;
46
47 };
48
49 /* Use this macro when declaring classes that implement this interface. */
50 #define NS_DECL_NSIDOMHTMLMODELEMENT \
51 NS_IMETHOD GetCite(nsAString & aCite); \
52 NS_IMETHOD SetCite(const nsAString & aCite); \
53 NS_IMETHOD GetDateTime(nsAString & aDateTime); \
54 NS_IMETHOD SetDateTime(const nsAString & aDateTime);
55
56 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
57 #define NS_FORWARD_NSIDOMHTMLMODELEMENT(_to) \
58 NS_IMETHOD GetCite(nsAString & aCite) { return _to GetCite(aCite); } \
59 NS_IMETHOD SetCite(const nsAString & aCite) { return _to SetCite(aCite); } \
60 NS_IMETHOD GetDateTime(nsAString & aDateTime) { return _to GetDateTime(aDateTi me); } \
61 NS_IMETHOD SetDateTime(const nsAString & aDateTime) { return _to SetDateTime(a DateTime); }
62
63 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
64 #define NS_FORWARD_SAFE_NSIDOMHTMLMODELEMENT(_to) \
65 NS_IMETHOD GetCite(nsAString & aCite) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCite(aCite); } \
66 NS_IMETHOD SetCite(const nsAString & aCite) { return !_to ? NS_ERROR_NULL_POIN TER : _to->SetCite(aCite); } \
67 NS_IMETHOD GetDateTime(nsAString & aDateTime) { return !_to ? NS_ERROR_NULL_PO INTER : _to->GetDateTime(aDateTime); } \
68 NS_IMETHOD SetDateTime(const nsAString & aDateTime) { return !_to ? NS_ERROR_N ULL_POINTER : _to->SetDateTime(aDateTime); }
69
70 #if 0
71 /* Use the code below as a template for the implementation class for this interf ace. */
72
73 /* Header file */
74 class nsDOMHTMLModElement : public nsIDOMHTMLModElement
75 {
76 public:
77 NS_DECL_ISUPPORTS
78 NS_DECL_NSIDOMHTMLMODELEMENT
79
80 nsDOMHTMLModElement();
81
82 private:
83 ~nsDOMHTMLModElement();
84
85 protected:
86 /* additional members */
87 };
88
89 /* Implementation file */
90 NS_IMPL_ISUPPORTS1(nsDOMHTMLModElement, nsIDOMHTMLModElement)
91
92 nsDOMHTMLModElement::nsDOMHTMLModElement()
93 {
94 /* member initializers and constructor code */
95 }
96
97 nsDOMHTMLModElement::~nsDOMHTMLModElement()
98 {
99 /* destructor code */
100 }
101
102 /* attribute DOMString cite; */
103 NS_IMETHODIMP nsDOMHTMLModElement::GetCite(nsAString & aCite)
104 {
105 return NS_ERROR_NOT_IMPLEMENTED;
106 }
107 NS_IMETHODIMP nsDOMHTMLModElement::SetCite(const nsAString & aCite)
108 {
109 return NS_ERROR_NOT_IMPLEMENTED;
110 }
111
112 /* attribute DOMString dateTime; */
113 NS_IMETHODIMP nsDOMHTMLModElement::GetDateTime(nsAString & aDateTime)
114 {
115 return NS_ERROR_NOT_IMPLEMENTED;
116 }
117 NS_IMETHODIMP nsDOMHTMLModElement::SetDateTime(const nsAString & aDateTime)
118 {
119 return NS_ERROR_NOT_IMPLEMENTED;
120 }
121
122 /* End of implementation class template. */
123 #endif
124
125
126 #endif /* __gen_nsIDOMHTMLModElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLMetaElement.h ('k') | gecko-sdk/include/nsIDOMHTMLOListElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698