namespace WrtPlugins {
namespace W3C {
-
-
class JSWidget
{
public:
/**
* This method initializes this in the JS Engine.
*/
- static const JSClassRef getClassRef();
+ static JSClassRef getClassRef();
/**
* Gets object's class description.
* called in finalize may fail because of invalid context.
*/
static void acquireGlobalContext(java_script_context_t global_context,
- js_object_instance_t iframe,
- js_object_instance_t object);
+ js_object_instance_t iframe,
+ js_object_instance_t object);
private:
/**
* The callback invoked when an object is first created.
*/
static void initialize(JSContextRef context,
- JSObjectRef object);
+ JSObjectRef object);
/**
* The callback invoked when an object is finalized.
static JSStaticValue m_property[];
/**
- * This structure contains properties and callbacks that define a type of object.
+ * This structure contains properties and callbacks that define a type of
+ * object.
*/
static JSClassDefinition m_classInfo;
JSStringRef propertyName,
JSValueRef value,
JSValueRef* exception);
-
};
}
}