merge with master
[platform/framework/web/wrt-plugins-common.git] / src / js-overlay / JSClass / JSSoftKeyboardChangeEvent.h
index f9dce7f..49da22f 100644 (file)
 
 namespace WrtPlugins {
 namespace Tizen {
-
 typedef WrtDeviceApis::CommonsJavaScript::PrivateObjectT<
-    WrtDeviceApis::SoftKeyboardChangeEvent::Api::ISoftKeyboardChangeEventPtr>::Type
-    JSSoftKeyboardChangeEventPrivateObject;
+    WrtDeviceApis::SoftKeyboardChangeEvent::Api::ISoftKeyboardChangeEventPtr>::
+    Type
+JSSoftKeyboardChangeEventPrivateObject;
 
 class JSSoftKeyboardChangeEvent
 {
@@ -41,7 +41,7 @@ class JSSoftKeyboardChangeEvent
     /**
      * This method initializes this in the JS Engine.
      */
-    static const JSClassRef getClassRef();
+    static JSClassRef getClassRef();
 
     /**
      * Gets object's class description.
@@ -65,7 +65,8 @@ class JSSoftKeyboardChangeEvent
     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;
 
@@ -73,25 +74,26 @@ class JSSoftKeyboardChangeEvent
 
     // getters for properties
     static JSValueRef getState(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
 
     static JSValueRef getWidth(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
 
     static JSValueRef getHeight(
-            JSContextRef context,
-            JSObjectRef object,
-            JSStringRef propertyName,
-            JSValueRef* exception);
-
-    static WrtDeviceApis::SoftKeyboardChangeEvent::Api::ISoftKeyboardChangeEventPtr
-        getPrivateObject(JSObjectRef arg);
+        JSContextRef context,
+        JSObjectRef object,
+        JSStringRef propertyName,
+        JSValueRef* exception);
+
+    static WrtDeviceApis::SoftKeyboardChangeEvent::Api::
+        ISoftKeyboardChangeEventPtr
+    getPrivateObject(JSObjectRef arg);
 };
 } // Tizen
 } // WrtPlugins