tizen 2.4 release
[framework/web/wrt-commons.git] / modules / support / wrt_plugin_export.h
old mode 100644 (file)
new mode 100755 (executable)
similarity index 98%
rename from modules_mobile/support/wrt_plugin_export.h
rename to modules/support/wrt_plugin_export.h
index 0cf4e37..b29c15a
@@ -23,6 +23,7 @@
 #define WRT_PLUGIN_EXPORT_H
 
 #include <stddef.h>
+#include <dpl/wrt-dao-ro/wrt_db_types.h>
 
 /**
  * Widget handle type
@@ -274,14 +275,14 @@ typedef const js_entity_definition_t *js_entity_definition_ptr_t;
 /**
  * Plugin export typedefs
  */
-typedef void (*on_widget_start_proc)(int widgetId);
+typedef void (*on_widget_start_proc)(WidgetHandle widgetId);
 
 typedef void (*on_widget_init_proc)(feature_mapping_interface_t *interface);
 
 /**
  * FIXME: Add documentation
  */
-typedef void (*on_widget_stop_proc)(int widgetId);
+typedef void (*on_widget_stop_proc)(WidgetHandle widgetId);
 
 typedef void (*on_frame_load_proc)(java_script_context_t context);