tizen beta release
[framework/web/webkit-efl.git] / DerivedSources / WebCore / JSHTMLTableCaptionElement.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 JSHTMLTableCaptionElement_h
22 #define JSHTMLTableCaptionElement_h
23
24 #include "HTMLTableCaptionElement.h"
25 #include "JSDOMBinding.h"
26 #include "JSHTMLElement.h"
27 #include <runtime/JSObject.h>
28
29 namespace WebCore {
30
31 class JSHTMLTableCaptionElement : public JSHTMLElement {
32 public:
33     typedef JSHTMLElement Base;
34     static JSHTMLTableCaptionElement* create(JSC::Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<HTMLTableCaptionElement> impl)
35     {
36         JSHTMLTableCaptionElement* ptr = new (JSC::allocateCell<JSHTMLTableCaptionElement>(globalObject->globalData().heap)) JSHTMLTableCaptionElement(structure, globalObject, impl);
37         ptr->finishCreation(globalObject->globalData());
38         return ptr;
39     }
40
41     static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
42     static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
43     static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
44     static void put(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
45     static const JSC::ClassInfo s_info;
46
47     static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
48     {
49         return JSC::Structure::create(globalData, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), &s_info);
50     }
51
52     static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);
53     HTMLTableCaptionElement* impl() const
54     {
55         return static_cast<HTMLTableCaptionElement*>(Base::impl());
56     }
57 protected:
58     JSHTMLTableCaptionElement(JSC::Structure*, JSDOMGlobalObject*, PassRefPtr<HTMLTableCaptionElement>);
59     void finishCreation(JSC::JSGlobalData&);
60     static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
61 };
62
63 HTMLTableCaptionElement* toHTMLTableCaptionElement(JSC::JSValue);
64
65 class JSHTMLTableCaptionElementPrototype : public JSC::JSNonFinalObject {
66 public:
67     typedef JSC::JSNonFinalObject Base;
68     static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*);
69     static JSHTMLTableCaptionElementPrototype* create(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
70     {
71         JSHTMLTableCaptionElementPrototype* ptr = new (JSC::allocateCell<JSHTMLTableCaptionElementPrototype>(globalData.heap)) JSHTMLTableCaptionElementPrototype(globalData, globalObject, structure);
72         ptr->finishCreation(globalData);
73         return ptr;
74     }
75
76     static const JSC::ClassInfo s_info;
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     JSHTMLTableCaptionElementPrototype(JSC::JSGlobalData& globalData, JSC::JSGlobalObject*, JSC::Structure* structure) : JSC::JSNonFinalObject(globalData, structure) { }
84 protected:
85     static const unsigned StructureFlags = Base::StructureFlags;
86 };
87
88 class JSHTMLTableCaptionElementConstructor : public DOMConstructorObject {
89 private:
90     JSHTMLTableCaptionElementConstructor(JSC::Structure*, JSDOMGlobalObject*);
91     void finishCreation(JSC::ExecState*, JSDOMGlobalObject*);
92
93 public:
94     typedef DOMConstructorObject Base;
95     static JSHTMLTableCaptionElementConstructor* create(JSC::ExecState* exec, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
96     {
97         JSHTMLTableCaptionElementConstructor* ptr = new (JSC::allocateCell<JSHTMLTableCaptionElementConstructor>(*exec->heap())) JSHTMLTableCaptionElementConstructor(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 // Attributes
114
115 JSC::JSValue jsHTMLTableCaptionElementAlign(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
116 void setJSHTMLTableCaptionElementAlign(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
117 JSC::JSValue jsHTMLTableCaptionElementConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
118
119 } // namespace WebCore
120
121 #endif