Changes by ACR
authorKyuho Jo <kyuho.jo@samsung.com>
Tue, 7 Apr 2015 03:41:32 +0000 (12:41 +0900)
committerKyuho Jo <kyuho.jo@samsung.com>
Tue, 7 Apr 2015 03:41:32 +0000 (12:41 +0900)
Change-Id: I4901638d8ae30711cc151b30abe6151ba28ca4c6
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
include/so_handler.h
include/widget.h
src/so_handler.c
src/widget.c

index db9ea0f..d43a912 100644 (file)
@@ -20,7 +20,7 @@ typedef int (*is_updated_t)(const char *filename);
 typedef int (*need_to_destroy_t)(const char *filename);
 typedef int (*update_content_t)(const char *filename);
 typedef int (*clicked_t)(const char *filename, const char *event, double timestamp, double x, double y);
-typedef int (*text_signal_t)(const char *filename, const char *signal_name, const char *source, widget_event_info_t event_info);
+typedef int (*text_signal_t)(const char *filename, const char *signal_name, const char *source, widget_event_info_s event_info);
 typedef int (*resize_t)(const char *filename, int type);
 typedef int (*create_needed_t)(const char *cluster, const char *category);
 typedef int (*change_group_t)(const char *filename, const char *cluster, const char *category);
@@ -39,7 +39,7 @@ typedef int (*adaptor_is_updated_t)(const char *pkgname, const char *filename);
 typedef int (*adaptor_need_to_destroy_t)(const char *pkgname, const char *filename);
 typedef int (*adaptor_update_content_t)(const char *pkgname, const char *filename);
 typedef int (*adaptor_clicked_t)(const char *pkgname, const char *filename, const char *event, double timestamp, double x, double y);
-typedef int (*adaptor_text_signal_t)(const char *pkgname, const char *filename, const char *signal_name, const char *source, widget_event_info_t event_info);
+typedef int (*adaptor_text_signal_t)(const char *pkgname, const char *filename, const char *signal_name, const char *source, widget_event_info_s event_info);
 typedef int (*adaptor_resize_t)(const char *pkgname, const char *filename, int type);
 typedef int (*adaptor_create_needed_t)(const char *pkgname, const char *cluster, const char *category);
 typedef int (*adaptor_change_group_t)(const char *pkgname, const char *filename, const char *cluster, const char *category);
@@ -145,7 +145,7 @@ extern int so_need_to_destroy(struct instance *inst);
 extern int so_update(struct instance *inst);
 extern int so_destroy(struct instance *inst, int unload);
 extern int so_clicked(struct instance *inst, const char *event, double timestamp, double x, double y);
-extern int so_script_event(struct instance *inst, const char *signal_name, const char *source, widget_event_info_t event_info);
+extern int so_script_event(struct instance *inst, const char *signal_name, const char *source, widget_event_info_s event_info);
 extern int so_resize(struct instance *inst, int w, int h);
 extern int so_create_needed(const char *pkgname, const char *cluster, const char *category, const char *abi);
 extern int so_change_group(struct instance *inst, const char *cluster, const char *category);
index 195d9d3..df00cab 100644 (file)
@@ -37,7 +37,7 @@ extern int widget_clicked(const char *pkgname, const char *id, const char *event
 extern int widget_set_content_info(const char *pkgname, const char *id, const char *content_info);
 extern int widget_set_content_info_all(const char *pkgname, const char *content);
 
-extern int widget_script_event(const char *pkgname, const char *id, const char *signal_name, const char *source, widget_event_info_t event_info);
+extern int widget_script_event(const char *pkgname, const char *id, const char *signal_name, const char *source, widget_event_info_s event_info);
 extern int widget_change_group(const char *pkgname, const char *id, const char *cluster, const char *category);
 
 extern int widget_update(const char *pkgname, const char *id, int force);
index e7a8fec..05ba445 100644 (file)
@@ -808,7 +808,7 @@ HAPI int so_clicked(struct instance *inst, const char *event, double timestamp,
        return ret;
 }
 
-HAPI int so_script_event(struct instance *inst, const char *signal_name, const char *source, widget_event_info_t event_info)
+HAPI int so_script_event(struct instance *inst, const char *signal_name, const char *source, widget_event_info_s event_info)
 {
        struct so_item *item;
        int ret;
index 28607e6..5fcffb5 100644 (file)
@@ -1976,7 +1976,7 @@ HAPI int widget_clicked(const char *pkgname, const char *id, const char *event,
        return WIDGET_ERROR_NONE;
 }
 
-HAPI int widget_script_event(const char *pkgname, const char *id, const char *signal_name, const char *source, widget_event_info_t event_info)
+HAPI int widget_script_event(const char *pkgname, const char *id, const char *signal_name, const char *source, widget_event_info_s event_info)
 {
        Eina_List *l;
        struct instance *inst;