1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGStylable.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGStylable_h__
6 : #define __gen_nsIDOMSVGStylable_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.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 nsIDOMSVGAnimatedString; /* forward declaration */
18 :
19 : class nsIDOMCSSStyleDeclaration; /* forward declaration */
20 :
21 : class nsIDOMCSSValue; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIDOMSVGStylable */
25 : #define NS_IDOMSVGSTYLABLE_IID_STR "ea8a6cb1-9176-45db-989d-d0e89f563d7e"
26 :
27 : #define NS_IDOMSVGSTYLABLE_IID \
28 : {0xea8a6cb1, 0x9176, 0x45db, \
29 : { 0x98, 0x9d, 0xd0, 0xe8, 0x9f, 0x56, 0x3d, 0x7e }}
30 :
31 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGStylable : public nsISupports {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGSTYLABLE_IID)
35 :
36 : /* readonly attribute nsIDOMSVGAnimatedString className; */
37 : NS_SCRIPTABLE NS_IMETHOD GetClassName(nsIDOMSVGAnimatedString * *aClassName) = 0;
38 :
39 : /* readonly attribute nsIDOMCSSStyleDeclaration style; */
40 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) = 0;
41 :
42 : /* nsIDOMCSSValue getPresentationAttribute (in DOMString name); */
43 : NS_SCRIPTABLE NS_IMETHOD GetPresentationAttribute(const nsAString & name, nsIDOMCSSValue * *_retval NS_OUTPARAM) = 0;
44 :
45 : };
46 :
47 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGStylable, NS_IDOMSVGSTYLABLE_IID)
48 :
49 : /* Use this macro when declaring classes that implement this interface. */
50 : #define NS_DECL_NSIDOMSVGSTYLABLE \
51 : NS_SCRIPTABLE NS_IMETHOD GetClassName(nsIDOMSVGAnimatedString * *aClassName); \
52 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle); \
53 : NS_SCRIPTABLE NS_IMETHOD GetPresentationAttribute(const nsAString & name, nsIDOMCSSValue * *_retval NS_OUTPARAM);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_NSIDOMSVGSTYLABLE(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetClassName(nsIDOMSVGAnimatedString * *aClassName) { return _to GetClassName(aClassName); } \
58 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return _to GetStyle(aStyle); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetPresentationAttribute(const nsAString & name, nsIDOMCSSValue * *_retval NS_OUTPARAM) { return _to GetPresentationAttribute(name, _retval); }
60 :
61 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
62 : #define NS_FORWARD_SAFE_NSIDOMSVGSTYLABLE(_to) \
63 : NS_SCRIPTABLE NS_IMETHOD GetClassName(nsIDOMSVGAnimatedString * *aClassName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClassName(aClassName); } \
64 : NS_SCRIPTABLE NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration * *aStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); } \
65 : NS_SCRIPTABLE NS_IMETHOD GetPresentationAttribute(const nsAString & name, nsIDOMCSSValue * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPresentationAttribute(name, _retval); }
66 :
67 : #if 0
68 : /* Use the code below as a template for the implementation class for this interface. */
69 :
70 : /* Header file */
71 : class nsDOMSVGStylable : public nsIDOMSVGStylable
72 : {
73 : public:
74 : NS_DECL_ISUPPORTS
75 : NS_DECL_NSIDOMSVGSTYLABLE
76 :
77 : nsDOMSVGStylable();
78 :
79 : private:
80 : ~nsDOMSVGStylable();
81 :
82 : protected:
83 : /* additional members */
84 : };
85 :
86 : /* Implementation file */
87 : NS_IMPL_ISUPPORTS1(nsDOMSVGStylable, nsIDOMSVGStylable)
88 :
89 : nsDOMSVGStylable::nsDOMSVGStylable()
90 : {
91 : /* member initializers and constructor code */
92 : }
93 :
94 : nsDOMSVGStylable::~nsDOMSVGStylable()
95 : {
96 : /* destructor code */
97 : }
98 :
99 : /* readonly attribute nsIDOMSVGAnimatedString className; */
100 : NS_IMETHODIMP nsDOMSVGStylable::GetClassName(nsIDOMSVGAnimatedString * *aClassName)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* readonly attribute nsIDOMCSSStyleDeclaration style; */
106 : NS_IMETHODIMP nsDOMSVGStylable::GetStyle(nsIDOMCSSStyleDeclaration * *aStyle)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* nsIDOMCSSValue getPresentationAttribute (in DOMString name); */
112 : NS_IMETHODIMP nsDOMSVGStylable::GetPresentationAttribute(const nsAString & name, nsIDOMCSSValue * *_retval NS_OUTPARAM)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* End of implementation class template. */
118 : #endif
119 :
120 :
121 : #endif /* __gen_nsIDOMSVGStylable_h__ */
|