1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/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 "170733d4-aad5-4f6e-86c0-94845ea6116d"
20 :
21 : #define NS_IDOMHTMLMODELEMENT_IID \
22 : {0x170733d4, 0xaad5, 0x4f6e, \
23 : { 0x86, 0xc0, 0x94, 0x84, 0x5e, 0xa6, 0x11, 0x6d }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLModElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLMODELEMENT_IID)
29 :
30 : /* attribute DOMString cite; */
31 : NS_SCRIPTABLE NS_IMETHOD GetCite(nsAString & aCite) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetCite(const nsAString & aCite) = 0;
33 :
34 : /* attribute DOMString dateTime; */
35 : NS_SCRIPTABLE NS_IMETHOD GetDateTime(nsAString & aDateTime) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetDateTime(const nsAString & aDateTime) = 0;
37 :
38 : };
39 :
40 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLModElement, NS_IDOMHTMLMODELEMENT_IID)
41 :
42 : /* Use this macro when declaring classes that implement this interface. */
43 : #define NS_DECL_NSIDOMHTMLMODELEMENT \
44 : NS_SCRIPTABLE NS_IMETHOD GetCite(nsAString & aCite); \
45 : NS_SCRIPTABLE NS_IMETHOD SetCite(const nsAString & aCite); \
46 : NS_SCRIPTABLE NS_IMETHOD GetDateTime(nsAString & aDateTime); \
47 : NS_SCRIPTABLE NS_IMETHOD SetDateTime(const nsAString & aDateTime);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMHTMLMODELEMENT(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetCite(nsAString & aCite) { return _to GetCite(aCite); } \
52 : NS_SCRIPTABLE NS_IMETHOD SetCite(const nsAString & aCite) { return _to SetCite(aCite); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetDateTime(nsAString & aDateTime) { return _to GetDateTime(aDateTime); } \
54 : NS_SCRIPTABLE NS_IMETHOD SetDateTime(const nsAString & aDateTime) { return _to SetDateTime(aDateTime); }
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
57 : #define NS_FORWARD_SAFE_NSIDOMHTMLMODELEMENT(_to) \
58 : NS_SCRIPTABLE NS_IMETHOD GetCite(nsAString & aCite) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCite(aCite); } \
59 : NS_SCRIPTABLE NS_IMETHOD SetCite(const nsAString & aCite) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCite(aCite); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetDateTime(nsAString & aDateTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDateTime(aDateTime); } \
61 : NS_SCRIPTABLE NS_IMETHOD SetDateTime(const nsAString & aDateTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDateTime(aDateTime); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsDOMHTMLModElement : public nsIDOMHTMLModElement
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIDOMHTMLMODELEMENT
72 :
73 : nsDOMHTMLModElement();
74 :
75 : private:
76 : ~nsDOMHTMLModElement();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsDOMHTMLModElement, nsIDOMHTMLModElement)
84 :
85 : nsDOMHTMLModElement::nsDOMHTMLModElement()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsDOMHTMLModElement::~nsDOMHTMLModElement()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* attribute DOMString cite; */
96 : NS_IMETHODIMP nsDOMHTMLModElement::GetCite(nsAString & aCite)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 : NS_IMETHODIMP nsDOMHTMLModElement::SetCite(const nsAString & aCite)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* attribute DOMString dateTime; */
106 : NS_IMETHODIMP nsDOMHTMLModElement::GetDateTime(nsAString & aDateTime)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 : NS_IMETHODIMP nsDOMHTMLModElement::SetDateTime(const nsAString & aDateTime)
111 : {
112 : return NS_ERROR_NOT_IMPLEMENTED;
113 : }
114 :
115 : /* End of implementation class template. */
116 : #endif
117 :
118 :
119 : #endif /* __gen_nsIDOMHTMLModElement_h__ */
|