tizen beta release
[framework/web/webkit-efl.git] / DerivedSources / WebCore / JSSVGFontFaceFormatElement.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 JSSVGFontFaceFormatElement_h
22 #define JSSVGFontFaceFormatElement_h
23
24 #if ENABLE(SVG) && ENABLE(SVG_FONTS)
25
26 #include "JSDOMBinding.h"
27 #include "JSSVGElement.h"
28 #include "SVGElement.h"
29 #include "SVGFontFaceFormatElement.h"
30 #include <runtime/JSObject.h>
31
32 namespace WebCore {
33
34 class JSSVGFontFaceFormatElement : public JSSVGElement {
35 public:
36     typedef JSSVGElement Base;
37     static JSSVGFontFaceFormatElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<SVGFontFaceFormatElement> impl)
38     {
39         JSSVGFontFaceFormatElement* ptr = new (JSC::allocateCell<JSSVGFontFaceFormatElement>(globalObject->globalData().heap)) JSSVGFontFaceFormatElement(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 const JSC::ClassInfo s_info;
48
49     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
50     {
51         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
52     }
53
54     static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
55 protected:
56     JSSVGFontFaceFormatElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<SVGFontFaceFormatElement>);
57     void finishCreation(JSC::JSGlobalData&);
58     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
59 };
60
61
62 class JSSVGFontFaceFormatElementPrototype : public JSC::JSNonFinalObject {
63 public:
64     typedef JSC::JSNonFinalObject Base;
65     static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
66     static JSSVGFontFaceFormatElementPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
67     {
68         JSSVGFontFaceFormatElementPrototype* ptr = new (JSC::allocateCell<JSSVGFontFaceFormatElementPrototype>(globalData.heap)) JSSVGFontFaceFormatElementPrototype(globalData, globalObject, structure);
69         ptr->finishCreation(globalData);
70         return ptr;
71     }
72
73     static const JSC::ClassInfo s_info;
74     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
75     {
76         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
77     }
78
79 private:
80     JSSVGFontFaceFormatElementPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
81 protected:
82     static const unsigned StructureFlags = Base::StructureFlags;
83 };
84
85 class JSSVGFontFaceFormatElementConstructor : public DOMConstructorObject {
86 private:
87     JSSVGFontFaceFormatElementConstructor(JSC::Structure*, JSDOMGlobalObject*);
88     void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
89
90 public:
91     typedef DOMConstructorObject Base;
92     static JSSVGFontFaceFormatElementConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
93     {
94         JSSVGFontFaceFormatElementConstructor* ptr = new (JSC::allocateCell<JSSVGFontFaceFormatElementConstructor>(*exec->heap())) JSSVGFontFaceFormatElementConstructor(structure, globalObject);
95         ptr->finishCreation(exec, globalObject);
96         return ptr;
97     }
98
99     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&);
100     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier&, JSC::PropertyDescriptor&);
101     static const JSC::ClassInfo s_info;
102     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
103     {
104         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
105     }
106 protected:
107     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::ImplementsHasInstance | DOMConstructorObject::StructureFlags;
108 };
109
110 // Attributes
111
112 JSC::JSValue jsSVGFontFaceFormatElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
113
114 } // namespace WebCore
115
116 #endif // ENABLE(SVG) && ENABLE(SVG_FONTS)
117
118 #endif