Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMCSSKeyframesRule.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMCSSKeyframesRule_h__
6 : #define __gen_nsIDOMCSSKeyframesRule_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.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 : class nsIDOMCSSRuleList; /* forward declaration */
18 :
19 : class nsIDOMCSSKeyframeRule; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIDOMCSSKeyframesRule */
23 : #define NS_IDOMCSSKEYFRAMESRULE_IID_STR "400f4b70-ad0a-4047-aba4-ee8019f6b907"
24 :
25 : #define NS_IDOMCSSKEYFRAMESRULE_IID \
26 : {0x400f4b70, 0xad0a, 0x4047, \
27 : { 0xab, 0xa4, 0xee, 0x80, 0x19, 0xf6, 0xb9, 0x07 }}
28 :
29 31 : class NS_NO_VTABLE nsIDOMCSSKeyframesRule : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSKEYFRAMESRULE_IID)
33 :
34 : /* attribute DOMString name; */
35 : NS_IMETHOD GetName(nsAString & aName) = 0;
36 : NS_IMETHOD SetName(const nsAString & aName) = 0;
37 :
38 : /* readonly attribute nsIDOMCSSRuleList cssRules; */
39 : NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) = 0;
40 :
41 : /* void appendRule (in DOMString rule); */
42 : NS_IMETHOD AppendRule(const nsAString & rule) = 0;
43 :
44 : /* void deleteRule (in DOMString key); */
45 : NS_IMETHOD DeleteRule(const nsAString & key) = 0;
46 :
47 : /* nsIDOMCSSKeyframeRule findRule (in DOMString key); */
48 : NS_IMETHOD FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval) = 0;
49 :
50 : };
51 :
52 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSKeyframesRule, NS_IDOMCSSKEYFRAMESRULE_IID)
53 :
54 : /* Use this macro when declaring classes that implement this interface. */
55 : #define NS_DECL_NSIDOMCSSKEYFRAMESRULE \
56 : NS_IMETHOD GetName(nsAString & aName) override; \
57 : NS_IMETHOD SetName(const nsAString & aName) override; \
58 : NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) override; \
59 : NS_IMETHOD AppendRule(const nsAString & rule) override; \
60 : NS_IMETHOD DeleteRule(const nsAString & key) override; \
61 : NS_IMETHOD FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval) override;
62 :
63 : /* Use this macro when declaring the members of this interface when the
64 : class doesn't implement the interface. This is useful for forwarding. */
65 : #define NS_DECL_NON_VIRTUAL_NSIDOMCSSKEYFRAMESRULE \
66 : nsresult GetName(nsAString & aName); \
67 : nsresult SetName(const nsAString & aName); \
68 : nsresult GetCssRules(nsIDOMCSSRuleList * *aCssRules); \
69 : nsresult AppendRule(const nsAString & rule); \
70 : nsresult DeleteRule(const nsAString & key); \
71 : nsresult FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIDOMCSSKEYFRAMESRULE(_to) \
75 : NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
76 : NS_IMETHOD SetName(const nsAString & aName) override { return _to SetName(aName); } \
77 : NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) override { return _to GetCssRules(aCssRules); } \
78 : NS_IMETHOD AppendRule(const nsAString & rule) override { return _to AppendRule(rule); } \
79 : NS_IMETHOD DeleteRule(const nsAString & key) override { return _to DeleteRule(key); } \
80 : NS_IMETHOD FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval) override { return _to FindRule(key, _retval); }
81 :
82 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
83 : #define NS_FORWARD_SAFE_NSIDOMCSSKEYFRAMESRULE(_to) \
84 : NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
85 : NS_IMETHOD SetName(const nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
86 : NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssRules(aCssRules); } \
87 : NS_IMETHOD AppendRule(const nsAString & rule) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendRule(rule); } \
88 : NS_IMETHOD DeleteRule(const nsAString & key) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteRule(key); } \
89 : NS_IMETHOD FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindRule(key, _retval); }
90 :
91 : #if 0
92 : /* Use the code below as a template for the implementation class for this interface. */
93 :
94 : /* Header file */
95 : class nsDOMCSSKeyframesRule : public nsIDOMCSSKeyframesRule
96 : {
97 : public:
98 : NS_DECL_ISUPPORTS
99 : NS_DECL_NSIDOMCSSKEYFRAMESRULE
100 :
101 : nsDOMCSSKeyframesRule();
102 :
103 : private:
104 : ~nsDOMCSSKeyframesRule();
105 :
106 : protected:
107 : /* additional members */
108 : };
109 :
110 : /* Implementation file */
111 : NS_IMPL_ISUPPORTS(nsDOMCSSKeyframesRule, nsIDOMCSSKeyframesRule)
112 :
113 : nsDOMCSSKeyframesRule::nsDOMCSSKeyframesRule()
114 : {
115 : /* member initializers and constructor code */
116 : }
117 :
118 : nsDOMCSSKeyframesRule::~nsDOMCSSKeyframesRule()
119 : {
120 : /* destructor code */
121 : }
122 :
123 : /* attribute DOMString name; */
124 : NS_IMETHODIMP nsDOMCSSKeyframesRule::GetName(nsAString & aName)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 : NS_IMETHODIMP nsDOMCSSKeyframesRule::SetName(const nsAString & aName)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 :
133 : /* readonly attribute nsIDOMCSSRuleList cssRules; */
134 : NS_IMETHODIMP nsDOMCSSKeyframesRule::GetCssRules(nsIDOMCSSRuleList * *aCssRules)
135 : {
136 : return NS_ERROR_NOT_IMPLEMENTED;
137 : }
138 :
139 : /* void appendRule (in DOMString rule); */
140 : NS_IMETHODIMP nsDOMCSSKeyframesRule::AppendRule(const nsAString & rule)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* void deleteRule (in DOMString key); */
146 : NS_IMETHODIMP nsDOMCSSKeyframesRule::DeleteRule(const nsAString & key)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 :
151 : /* nsIDOMCSSKeyframeRule findRule (in DOMString key); */
152 : NS_IMETHODIMP nsDOMCSSKeyframesRule::FindRule(const nsAString & key, nsIDOMCSSKeyframeRule * *_retval)
153 : {
154 : return NS_ERROR_NOT_IMPLEMENTED;
155 : }
156 :
157 : /* End of implementation class template. */
158 : #endif
159 :
160 :
161 : #endif /* __gen_nsIDOMCSSKeyframesRule_h__ */
|