2 * Browser D-Bus Bridge, JavaScriptCore version
4 * Copyright © 2008 Movial Creative Technologies Inc
5 * Contact: Movial Creative Technologies Inc, <info@movial.com>
6 * Authors: Kalle Vahlman, <kalle.vahlman@movial.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
23 #ifndef __JSCOREBUS_METHOD_H__
24 #define __JSCOREBUS_METHOD_H__
26 #include <dbus/dbus.h>
27 #include <JavaScriptCore/JavaScript.h>
29 /* NOTE: Takes ownership of the arguments! */
30 JSObjectRef jscorebus_create_method (JSGlobalContextRef context,
31 DBusConnection *connection,
37 JSObjectRef thisObject,
38 JSValueRef* exception);
40 #endif /* __JSCOREBUS_METHOD_H__ */