diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSVoidCallback.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSVoidCallback.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSVoidCallback.h b/src/3rdparty/webkit/WebCore/generated/JSVoidCallback.h new file mode 100644 index 0000000..5da934f --- /dev/null +++ b/src/3rdparty/webkit/WebCore/generated/JSVoidCallback.h @@ -0,0 +1,69 @@ +/* + This file is part of the WebKit open source project. + This file has been generated by generate-bindings.pl. DO NOT MODIFY! + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef JSVoidCallback_h +#define JSVoidCallback_h + +#include "JSDOMBinding.h" +#include <runtime/JSGlobalObject.h> +#include <runtime/ObjectPrototype.h> + +namespace WebCore { + +class VoidCallback; + +class JSVoidCallback : public DOMObject { + typedef DOMObject Base; +public: + JSVoidCallback(PassRefPtr<JSC::Structure>, PassRefPtr<VoidCallback>); + virtual ~JSVoidCallback(); + static JSC::JSObject* createPrototype(JSC::ExecState*); + virtual const JSC::ClassInfo* classInfo() const { return &s_info; } + static const JSC::ClassInfo s_info; + + VoidCallback* impl() const { return m_impl.get(); } + +private: + RefPtr<VoidCallback> m_impl; +}; + +JSC::JSValuePtr toJS(JSC::ExecState*, VoidCallback*); +VoidCallback* toVoidCallback(JSC::JSValuePtr); + +class JSVoidCallbackPrototype : public JSC::JSObject { +public: + static JSC::JSObject* self(JSC::ExecState*); + virtual const JSC::ClassInfo* classInfo() const { return &s_info; } + static const JSC::ClassInfo s_info; + virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier&, JSC::PropertySlot&); + static PassRefPtr<JSC::Structure> createStructure(JSC::JSValuePtr prototype) + { + return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType)); + } + JSVoidCallbackPrototype(PassRefPtr<JSC::Structure> structure) : JSC::JSObject(structure) { } +}; + +// Functions + +JSC::JSValuePtr jsVoidCallbackPrototypeFunctionHandleEvent(JSC::ExecState*, JSC::JSObject*, JSC::JSValuePtr, const JSC::ArgList&); + +} // namespace WebCore + +#endif |