1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/css/nsIDOMMozCSSKeyframesRule.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMMozCSSKeyframesRule_h__
6 : #define __gen_nsIDOMMozCSSKeyframesRule_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMCSSRule_h__
10 : #include "nsIDOMCSSRule.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: nsIDOMMozCSSKeyframesRule */
19 : #define NS_IDOMMOZCSSKEYFRAMESRULE_IID_STR "aa4ea11f-791b-4671-b192-b931e6539669"
20 :
21 : #define NS_IDOMMOZCSSKEYFRAMESRULE_IID \
22 : {0xaa4ea11f, 0x791b, 0x4671, \
23 : { 0xb1, 0x92, 0xb9, 0x31, 0xe6, 0x53, 0x96, 0x69 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozCSSKeyframesRule : public nsIDOMCSSRule {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZCSSKEYFRAMESRULE_IID)
29 :
30 : /* attribute DOMString name; */
31 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
33 :
34 : /* readonly attribute nsIDOMCSSRuleList cssRules; */
35 : NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) = 0;
36 :
37 : /* void insertRule (in DOMString rule); */
38 : NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule) = 0;
39 :
40 : /* void deleteRule (in DOMString key); */
41 : NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key) = 0;
42 :
43 : /* nsIDOMMozCSSKeyframeRule findRule (in DOMString key); */
44 : NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule * *_retval NS_OUTPARAM) = 0;
45 :
46 : };
47 :
48 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozCSSKeyframesRule, NS_IDOMMOZCSSKEYFRAMESRULE_IID)
49 :
50 : /* Use this macro when declaring classes that implement this interface. */
51 : #define NS_DECL_NSIDOMMOZCSSKEYFRAMESRULE \
52 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
53 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
54 : NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules); \
55 : NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule); \
56 : NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key); \
57 : NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule * *_retval NS_OUTPARAM);
58 :
59 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
60 : #define NS_FORWARD_NSIDOMMOZCSSKEYFRAMESRULE(_to) \
61 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
62 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
63 : NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) { return _to GetCssRules(aCssRules); } \
64 : NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule) { return _to InsertRule(rule); } \
65 : NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key) { return _to DeleteRule(key); } \
66 : NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule * *_retval NS_OUTPARAM) { return _to FindRule(key, _retval); }
67 :
68 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
69 : #define NS_FORWARD_SAFE_NSIDOMMOZCSSKEYFRAMESRULE(_to) \
70 : NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
71 : NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
72 : NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssRules(aCssRules); } \
73 : NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertRule(rule); } \
74 : NS_SCRIPTABLE NS_IMETHOD DeleteRule(const nsAString & key) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteRule(key); } \
75 : NS_SCRIPTABLE NS_IMETHOD FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindRule(key, _retval); }
76 :
77 : #if 0
78 : /* Use the code below as a template for the implementation class for this interface. */
79 :
80 : /* Header file */
81 : class nsDOMMozCSSKeyframesRule : public nsIDOMMozCSSKeyframesRule
82 : {
83 : public:
84 : NS_DECL_ISUPPORTS
85 : NS_DECL_NSIDOMMOZCSSKEYFRAMESRULE
86 :
87 : nsDOMMozCSSKeyframesRule();
88 :
89 : private:
90 : ~nsDOMMozCSSKeyframesRule();
91 :
92 : protected:
93 : /* additional members */
94 : };
95 :
96 : /* Implementation file */
97 : NS_IMPL_ISUPPORTS1(nsDOMMozCSSKeyframesRule, nsIDOMMozCSSKeyframesRule)
98 :
99 : nsDOMMozCSSKeyframesRule::nsDOMMozCSSKeyframesRule()
100 : {
101 : /* member initializers and constructor code */
102 : }
103 :
104 : nsDOMMozCSSKeyframesRule::~nsDOMMozCSSKeyframesRule()
105 : {
106 : /* destructor code */
107 : }
108 :
109 : /* attribute DOMString name; */
110 : NS_IMETHODIMP nsDOMMozCSSKeyframesRule::GetName(nsAString & aName)
111 : {
112 : return NS_ERROR_NOT_IMPLEMENTED;
113 : }
114 : NS_IMETHODIMP nsDOMMozCSSKeyframesRule::SetName(const nsAString & aName)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* readonly attribute nsIDOMCSSRuleList cssRules; */
120 : NS_IMETHODIMP nsDOMMozCSSKeyframesRule::GetCssRules(nsIDOMCSSRuleList * *aCssRules)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* void insertRule (in DOMString rule); */
126 : NS_IMETHODIMP nsDOMMozCSSKeyframesRule::InsertRule(const nsAString & rule)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* void deleteRule (in DOMString key); */
132 : NS_IMETHODIMP nsDOMMozCSSKeyframesRule::DeleteRule(const nsAString & key)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* nsIDOMMozCSSKeyframeRule findRule (in DOMString key); */
138 : NS_IMETHODIMP nsDOMMozCSSKeyframesRule::FindRule(const nsAString & key, nsIDOMMozCSSKeyframeRule * *_retval NS_OUTPARAM)
139 : {
140 : return NS_ERROR_NOT_IMPLEMENTED;
141 : }
142 :
143 : /* End of implementation class template. */
144 : #endif
145 :
146 :
147 : #endif /* __gen_nsIDOMMozCSSKeyframesRule_h__ */
|