From 48f8ff983274cc286f23b406681daf77d11e57a8 Mon Sep 17 00:00:00 2001 From: Hyungdeuk Kim Date: Tue, 25 Jun 2013 21:15:18 +0900 Subject: merge latest code --- include/SLP_UI_Gadget_PG.h | 3 --- include/ug-module.h | 1 + include/ug.h | 9 ++++++--- include/ui-gadget-engine.h | 5 +++-- include/ui-gadget.h | 5 ----- 5 files changed, 10 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/SLP_UI_Gadget_PG.h b/include/SLP_UI_Gadget_PG.h index 70387f2..08f683d 100755 --- a/include/SLP_UI_Gadget_PG.h +++ b/include/SLP_UI_Gadget_PG.h @@ -189,8 +189,6 @@ UG_OPT_INDICATOR_LANDSCAPE_ONLY UG_OPT_INDICATOR_DISABLE // current indicator status will be held UG_OPT_INDICATOR_MANUAL -// Enable indicator overlap -UG_OPT_OVERLAP_ENABLE @endcode \note struct ug_data is a user defined private data structure describing base layout, own UI gadget handler, and whatever you need: @@ -509,7 +507,6 @@ Available options are as following: - UG_OPT_LANDSCAPE_ONLY - UG_OPT_INDICATOR_DISABLE - UG_OPT_INDICATOR_MANUAL -- UG_OPT_OVERLAP_ENABLE And we used UG_OPT_INDICATOR_POTRAIT_ONLY in "helloUG-efl" diff --git a/include/ug-module.h b/include/ug-module.h index 7d7bf5e..2db135f 100644 --- a/include/ug-module.h +++ b/include/ug-module.h @@ -28,6 +28,7 @@ struct ug_module { void *handle; char *module_name; struct ug_module_ops ops; + char *addr; }; struct ug_module *ug_module_load(const char *name); diff --git a/include/ug.h b/include/ug.h index fe3be22..eb2ae64 100755 --- a/include/ug.h +++ b/include/ug.h @@ -22,18 +22,16 @@ #ifndef __UG_H__ #define __UG_H__ -#include #include "ug-module.h" #include "ui-gadget.h" -struct ug_child; - enum ug_state { UG_STATE_READY = 0x00, UG_STATE_CREATED, UG_STATE_RUNNING, UG_STATE_STOPPED, UG_STATE_DESTROYING, + UG_STATE_PENDING_DESTROY, UG_STATE_DESTROYED, UG_STATE_INVALID, UG_STATE_MAX @@ -50,6 +48,11 @@ enum ug_layout_state { UG_LAYOUT_MAX }; +enum ug_ui_req { + UG_UI_REQ_GET_CONFORMANT = 0x00, + UG_UI_REQ_MAX +}; + struct ui_gadget_s { const char *name; void *layout; diff --git a/include/ui-gadget-engine.h b/include/ui-gadget-engine.h index 13986cf..7581256 100755 --- a/include/ui-gadget-engine.h +++ b/include/ui-gadget-engine.h @@ -38,7 +38,6 @@ * @{ */ -#include #include "ui-gadget.h" #ifdef __cplusplus @@ -54,8 +53,10 @@ struct ug_engine_ops { void *(*create)(void *win, ui_gadget_h ug, void(*show_end_cb)(void *data)); /** destroy operation */ void (*destroy)(ui_gadget_h ug, ui_gadget_h fv_top, void(*hide_end_cb)(void *data)); + /** request operation */ + void *(*request)(void *data, ui_gadget_h ug, int req); /** reserved operations */ - void *reserved[4]; + void *reserved[3]; }; #ifdef __cplusplus diff --git a/include/ui-gadget.h b/include/ui-gadget.h index dfa13b4..ceabcee 100755 --- a/include/ui-gadget.h +++ b/include/ui-gadget.h @@ -128,14 +128,9 @@ enum ug_option { UG_OPT_INDICATOR_MANUAL = 0x04, /**< Indicator option: Indicator will be handled manually */ - UG_OPT_OVERLAP_ENABLE = 0x08, - /**< Overlap option: Enable indicator overlap */ UG_OPT_MAX }; -#define GET_OPT_INDICATOR_VAL(opt) opt % UG_OPT_OVERLAP_ENABLE -#define GET_OPT_OVERLAP_VAL(opt) opt & UG_OPT_OVERLAP_ENABLE - #define UG_SERVICE_DATA_RESULT "__UG_SEND_REUSLT__" /** -- cgit v1.2.3