tizen beta release
[profile/ivi/webkit-efl.git] / DerivedSources / WebCore / JSSVGSwitchElement.h
1 /*
2     This file is part of the WebKit open source project.
3     This file has been generated by generate-bindings.pl. DO NOT MODIFY!
4
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Library General Public
7     License as published by the Free Software Foundation; either
8     version 2 of the License, or (at your option) any later version.
9
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13     Library General Public License for more details.
14
15     You should have received a copy of the GNU Library General Public License
16     along with this library; see the file COPYING.LIB.  If not, write to
17     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18     Boston, MA 02110-1301, USA.
19 */
20
21 #ifndef JSSVGSwitchElement_h
22 #define JSSVGSwitchElement_h
23
24 #if ENABLE(SVG)
25
26 #include "JSDOMBinding.h"
27 #include "JSSVGElement.h"
28 #include "SVGElement.h"
29 #include "SVGSwitchElement.h"
30 #include <runtime/JSObject.h>
31
32 namespace WebCore {
33
34 class JSSVGSwitchElement : public JSSVGElement {
35 public:
36     typedef JSSVGElement Base;
37     static JSSVGSwitchElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<SVGSwitchElement> impl)
38     {
39         JSSVGSwitchElement* ptr = new (JSC::allocateCell<JSSVGSwitchElement>(globalObject->globalData().heap)) JSSVGSwitchElement(structure, globalObject, impl);
40         ptr->finishCreation(globalObject->globalData());
41         return ptr;
42     }
43
44     static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
45     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
46     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
47     static void put(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
48     static const JSC::ClassInfo s_info;
49
50     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
51     {
52         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
53     }
54
55     static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
56 protected:
57     JSSVGSwitchElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<SVGSwitchElement>);
58     void finishCreation(JSC::JSGlobalData&);
59     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
60 };
61
62
63 class JSSVGSwitchElementPrototype : public JSC::JSNonFinalObject {
64 public:
65     typedef JSC::JSNonFinalObject Base;
66     static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
67     static JSSVGSwitchElementPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
68     {
69         JSSVGSwitchElementPrototype* ptr = new (JSC::allocateCell<JSSVGSwitchElementPrototype>(globalData.heap)) JSSVGSwitchElementPrototype(globalData, globalObject, structure);
70         ptr->finishCreation(globalData);
71         return ptr;
72     }
73
74     static const JSC::ClassInfo s_info;
75     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
76     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
77     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
78     {
79         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
80     }
81
82 private:
83     JSSVGSwitchElementPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
84 protected:
85     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
86 };
87
88 class JSSVGSwitchElementConstructor : public DOMConstructorObject {
89 private:
90     JSSVGSwitchElementConstructor(JSC::Structure*, JSDOMGlobalObject*);
91     void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
92
93 public:
94     typedef DOMConstructorObject Base;
95     static JSSVGSwitchElementConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
96     {
97         JSSVGSwitchElementConstructor* ptr = new (JSC::allocateCell<JSSVGSwitchElementConstructor>(*exec->heap())) JSSVGSwitchElementConstructor(structure, globalObject);
98         ptr->finishCreation(exec, globalObject);
99         return ptr;
100     }
101
102     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
103     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
104     static const JSC::ClassInfo s_info;
105     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
106     {
107         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
108     }
109 protected:
110     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
111 };
112
113 // Functions
114
115 JSC::EncodedJSValue JSC_HOST_CALL jsSVGSwitchElementPrototypeFunctionHasExtension(JSC::ExecState*);
116 JSC::EncodedJSValue JSC_HOST_CALL jsSVGSwitchElementPrototypeFunctionGetPresentationAttribute(JSC::ExecState*);
117 JSC::EncodedJSValue JSC_HOST_CALL jsSVGSwitchElementPrototypeFunctionGetBBox(JSC::ExecState*);
118 JSC::EncodedJSValue JSC_HOST_CALL jsSVGSwitchElementPrototypeFunctionGetCTM(JSC::ExecState*);
119 JSC::EncodedJSValue JSC_HOST_CALL jsSVGSwitchElementPrototypeFunctionGetScreenCTM(JSC::ExecState*);
120 JSC::EncodedJSValue JSC_HOST_CALL jsSVGSwitchElementPrototypeFunctionGetTransformToElement(JSC::ExecState*);
121 // Attributes
122
123 JSC::JSValue jsSVGSwitchElementRequiredFeatures(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
124 JSC::JSValue jsSVGSwitchElementRequiredExtensions(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
125 JSC::JSValue jsSVGSwitchElementSystemLanguage(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
126 JSC::JSValue jsSVGSwitchElementXmllang(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
127 void setJSSVGSwitchElementXmllang(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
128 JSC::JSValue jsSVGSwitchElementXmlspace(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
129 void setJSSVGSwitchElementXmlspace(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
130 JSC::JSValue jsSVGSwitchElementExternalResourcesRequired(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
131 JSC::JSValue jsSVGSwitchElementClassName(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
132 JSC::JSValue jsSVGSwitchElementStyle(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
133 JSC::JSValue jsSVGSwitchElementTransform(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
134 JSC::JSValue jsSVGSwitchElementNearestViewportElement(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
135 JSC::JSValue jsSVGSwitchElementFarthestViewportElement(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
136 JSC::JSValue jsSVGSwitchElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
137
138 } // namespace WebCore
139
140 #endif // ENABLE(SVG)
141
142 #endif