1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLStyleElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLStyleElement_h__
6 : #define __gen_nsIDOMHTMLStyleElement_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: nsIDOMHTMLStyleElement */
19 : #define NS_IDOMHTMLSTYLEELEMENT_IID_STR "247fc8c4-92f3-427b-af6f-41b13f28287d"
20 :
21 : #define NS_IDOMHTMLSTYLEELEMENT_IID \
22 : {0x247fc8c4, 0x92f3, 0x427b, \
23 : { 0xaf, 0x6f, 0x41, 0xb1, 0x3f, 0x28, 0x28, 0x7d }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLStyleElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSTYLEELEMENT_IID)
29 :
30 : /* attribute boolean disabled; */
31 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) = 0;
33 :
34 : /* attribute DOMString media; */
35 : NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia) = 0;
37 :
38 : /* attribute DOMString type; */
39 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
40 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) = 0;
41 :
42 : };
43 :
44 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLStyleElement, NS_IDOMHTMLSTYLEELEMENT_IID)
45 :
46 : /* Use this macro when declaring classes that implement this interface. */
47 : #define NS_DECL_NSIDOMHTMLSTYLEELEMENT \
48 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled); \
49 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled); \
50 : NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia); \
51 : NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia); \
52 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
53 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_NSIDOMHTMLSTYLEELEMENT(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return _to GetDisabled(aDisabled); } \
58 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return _to SetDisabled(aDisabled); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia) { return _to GetMedia(aMedia); } \
60 : NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia) { return _to SetMedia(aMedia); } \
61 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
62 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); }
63 :
64 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
65 : #define NS_FORWARD_SAFE_NSIDOMHTMLSTYLEELEMENT(_to) \
66 : NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
67 : NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
68 : NS_SCRIPTABLE NS_IMETHOD GetMedia(nsAString & aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } \
69 : NS_SCRIPTABLE NS_IMETHOD SetMedia(const nsAString & aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMedia(aMedia); } \
70 : NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
71 : NS_SCRIPTABLE NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); }
72 :
73 : #if 0
74 : /* Use the code below as a template for the implementation class for this interface. */
75 :
76 : /* Header file */
77 : class nsDOMHTMLStyleElement : public nsIDOMHTMLStyleElement
78 : {
79 : public:
80 : NS_DECL_ISUPPORTS
81 : NS_DECL_NSIDOMHTMLSTYLEELEMENT
82 :
83 : nsDOMHTMLStyleElement();
84 :
85 : private:
86 : ~nsDOMHTMLStyleElement();
87 :
88 : protected:
89 : /* additional members */
90 : };
91 :
92 : /* Implementation file */
93 : NS_IMPL_ISUPPORTS1(nsDOMHTMLStyleElement, nsIDOMHTMLStyleElement)
94 :
95 : nsDOMHTMLStyleElement::nsDOMHTMLStyleElement()
96 : {
97 : /* member initializers and constructor code */
98 : }
99 :
100 : nsDOMHTMLStyleElement::~nsDOMHTMLStyleElement()
101 : {
102 : /* destructor code */
103 : }
104 :
105 : /* attribute boolean disabled; */
106 : NS_IMETHODIMP nsDOMHTMLStyleElement::GetDisabled(bool *aDisabled)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 : NS_IMETHODIMP nsDOMHTMLStyleElement::SetDisabled(bool aDisabled)
111 : {
112 : return NS_ERROR_NOT_IMPLEMENTED;
113 : }
114 :
115 : /* attribute DOMString media; */
116 : NS_IMETHODIMP nsDOMHTMLStyleElement::GetMedia(nsAString & aMedia)
117 : {
118 : return NS_ERROR_NOT_IMPLEMENTED;
119 : }
120 : NS_IMETHODIMP nsDOMHTMLStyleElement::SetMedia(const nsAString & aMedia)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* attribute DOMString type; */
126 : NS_IMETHODIMP nsDOMHTMLStyleElement::GetType(nsAString & aType)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 : NS_IMETHODIMP nsDOMHTMLStyleElement::SetType(const nsAString & aType)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* End of implementation class template. */
136 : #endif
137 :
138 :
139 : #endif /* __gen_nsIDOMHTMLStyleElement_h__ */
|