Tizen 2.1 base
[platform/framework/web/wrt-plugins-common.git] / src / CommonsJavaScript / Converter.h
old mode 100755 (executable)
new mode 100644 (file)
index 47e308d..302141d
@@ -93,6 +93,13 @@ class Converter : private DPL::Noncopyable
     long toLong(const JSValueRef& arg);
 
     /**
+     * Converts JSvalueRef to long long integer value.
+     * @param arg JSValueRef object to convert.
+     * @return Long long integer value.
+     * @throw ConversionException Thrown when conversion fails.
+     */
+    long long toLongLong(const JSValueRef& arg);
+    /**
      * Converts JSValueRef to unsigned long value.
      * @param arg JSValueRef object to convert.
      * @return Unsigned long value.
@@ -277,6 +284,14 @@ class Converter : private DPL::Noncopyable
    */
   JSValueRef toJSValueRefLong(const long arg);
 
+    /**
+     * Converts unsigned long value to JSValueRef.
+     * @param arg long long int value to convert.
+     * @return JSValueRef object.
+     * @throw ConversionException Thrown when conversion fails.
+     */
+    JSValueRef toJSValueRef(long long int arg);
+
   /**
      * Converts STL string to JSValueRef.
      * @param arg STL string to convert.