diff options
author | Jiwoong Im <jiwoong.im@samsung.com> | 2016-06-16 18:43:51 +0900 |
---|---|---|
committer | Jiwoong Im <jiwoong.im@samsung.com> | 2016-06-16 19:12:29 +0900 |
commit | 64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e (patch) | |
tree | fd17475a938127537752f808a0e50ebd2cd42291 /include | |
parent | 0c2ea19d230c7e1447ce841b916c2eebaa43ed33 (diff) | |
download | ui-gadget-1-64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e.tar.gz ui-gadget-1-64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e.tar.bz2 ui-gadget-1-64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e.zip |
fix abi issue
Change-Id: Idc9ca564c61f2f6278c93e950d3163c83391274c
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/ui-gadget.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/include/ui-gadget.h b/include/ui-gadget.h index 9e0f653..6c34b19 100644 --- a/include/ui-gadget.h +++ b/include/ui-gadget.h @@ -131,15 +131,17 @@ 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__" +/** + * @brief Definition for key string for the extra data of app_control that is used for result state of ui-gadget. + * When ug callee (UI gadgets) sends result state using ug_send_result_full(), the ug caller can get the + * result state from ug callee in result parameter of the result_cb(). + * + * @since_tizen 2.3 + */ +#define UG_APP_CONTROL_DATA_RESULT "__UG_SEND_RESULT__" /** * UI gadget callback type @@ -161,11 +163,13 @@ struct ug_cbs { }; /** - * Easy-to-use macro of ug_init() for EFL + * @brief Definition for easy-to-use api of ug_init() for EFL. + * + * @since_tizen 2.3 + * * @see ug_init() */ -#define UG_INIT_EFL(win, opt) \ - ug_init_efl(win, opt) +int UG_INIT_EFL(void *win, enum ug_option opt); /** * Easy-to-use macro of ug_init() for GTK |