1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/css/nsIDOMMozCSSKeyframeRule.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMMozCSSKeyframeRule_h__
6 : #define __gen_nsIDOMMozCSSKeyframeRule_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: nsIDOMMozCSSKeyframeRule */
19 : #define NS_IDOMMOZCSSKEYFRAMERULE_IID_STR "38a19612-dc58-414a-954c-233183808484"
20 :
21 : #define NS_IDOMMOZCSSKEYFRAMERULE_IID \
22 : {0x38a19612, 0xdc58, 0x414a, \
23 : { 0x95, 0x4c, 0x23, 0x31, 0x83, 0x80, 0x84, 0x84 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozCSSKeyframeRule : public nsIDOMCSSRule {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZCSSKEYFRAMERULE_IID)
29 :
30 : /* attribute DOMString keyText; */
31 : NS_SCRIPTABLE NS_IMETHOD GetKeyText(nsAString & aKeyText) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetKeyText(const nsAString & aKeyText) = 0;
33 :
34 : /* readonly attribute nsIDOMCSSStyleDeclaration style; */
35 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozCSSKeyframeRule, NS_IDOMMOZCSSKEYFRAMERULE_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSIDOMMOZCSSKEYFRAMERULE \
43 : NS_SCRIPTABLE NS_IMETHOD GetKeyText(nsAString & aKeyText); \
44 : NS_SCRIPTABLE NS_IMETHOD SetKeyText(const nsAString & aKeyText); \
45 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle);
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
48 : #define NS_FORWARD_NSIDOMMOZCSSKEYFRAMERULE(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD GetKeyText(nsAString & aKeyText) { return _to GetKeyText(aKeyText); } \
50 : NS_SCRIPTABLE NS_IMETHOD SetKeyText(const nsAString & aKeyText) { return _to SetKeyText(aKeyText); } \
51 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return _to GetStyle(aStyle); }
52 :
53 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
54 : #define NS_FORWARD_SAFE_NSIDOMMOZCSSKEYFRAMERULE(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD GetKeyText(nsAString & aKeyText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyText(aKeyText); } \
56 : NS_SCRIPTABLE NS_IMETHOD SetKeyText(const nsAString & aKeyText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKeyText(aKeyText); } \
57 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsDOMMozCSSKeyframeRule : public nsIDOMMozCSSKeyframeRule
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMMOZCSSKEYFRAMERULE
68 :
69 : nsDOMMozCSSKeyframeRule();
70 :
71 : private:
72 : ~nsDOMMozCSSKeyframeRule();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsDOMMozCSSKeyframeRule, nsIDOMMozCSSKeyframeRule)
80 :
81 : nsDOMMozCSSKeyframeRule::nsDOMMozCSSKeyframeRule()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMMozCSSKeyframeRule::~nsDOMMozCSSKeyframeRule()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* attribute DOMString keyText; */
92 : NS_IMETHODIMP nsDOMMozCSSKeyframeRule::GetKeyText(nsAString & aKeyText)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 : NS_IMETHODIMP nsDOMMozCSSKeyframeRule::SetKeyText(const nsAString & aKeyText)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* readonly attribute nsIDOMCSSStyleDeclaration style; */
102 : NS_IMETHODIMP nsDOMMozCSSKeyframeRule::GetStyle(nsIDOMCSSStyleDeclaration * *aStyle)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* End of implementation class template. */
108 : #endif
109 :
110 :
111 : #endif /* __gen_nsIDOMMozCSSKeyframeRule_h__ */
|