merge with master
[platform/framework/web/wrt-plugins-common.git] / src / standards / W3C / Widget / JSWidget.h
index 3be203a..c0bf403 100644 (file)
 
 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.
@@ -60,15 +58,15 @@ class JSWidget
      * 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.
@@ -81,7 +79,8 @@ class JSWidget
     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;
 
@@ -148,7 +147,6 @@ class JSWidget
                             JSStringRef propertyName,
                             JSValueRef value,
                             JSValueRef* exception);
-
 };
 }
 }