diff options
author | Jiwoong Im <jiwoong.im@samsung.com> | 2014-12-30 21:00:33 +0900 |
---|---|---|
committer | Jiwoong Im <jiwoong.im@samsung.com> | 2014-12-30 21:00:33 +0900 |
commit | 6bc2d0eae3d8071fc6c624e1a9dec0664acd3848 (patch) | |
tree | 8f8d9b4ee8e0f1988cc39d1129596d005ce4a315 /include | |
parent | d86d0066b93cf402badc408de591e54d6db6c164 (diff) | |
download | app-core-6bc2d0eae3d8071fc6c624e1a9dec0664acd3848.tar.gz app-core-6bc2d0eae3d8071fc6c624e1a9dec0664acd3848.tar.bz2 app-core-6bc2d0eae3d8071fc6c624e1a9dec0664acd3848.zip |
Modify system event callbacksubmit/tizen_wearable/20150121.020025submit/tizen_tv/20150121.020041submit/tizen_mobile/20150121.020049submit/tizen/20150120.043506accepted/tizen/wearable/20150121.044756accepted/tizen/tv/20150121.044523accepted/tizen/mobile/20150121.045023
appcore passes system event information to application.
Change-Id: Iad10469457c96c331dd260415f5238e6978419ba
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/appcore-common.h | 4 | ||||
-rwxr-xr-x | include/appcore-internal.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/appcore-common.h b/include/appcore-common.h index cd61e01..1201b6d 100755 --- a/include/appcore-common.h +++ b/include/appcore-common.h @@ -201,7 +201,7 @@ int add_callbacks(struct appdata *data) * */ int appcore_set_event_callback(enum appcore_event event, - int (*cb)(void *), void *data); + int (*cb)(void *, void *), void *data); /** * @par Description: @@ -255,7 +255,7 @@ static int _rot_cb(enum appcore_rm, void *); * @endcode * */ -int appcore_set_rotation_cb(int (*cb) (enum appcore_rm, void *), +int appcore_set_rotation_cb(int (*cb) (void *event_info, enum appcore_rm, void *), void *data); /** diff --git a/include/appcore-internal.h b/include/appcore-internal.h index 038e2dc..1d88353 100755 --- a/include/appcore-internal.h +++ b/include/appcore-internal.h @@ -132,7 +132,7 @@ enum sys_event { * Appcore system event operation */ struct sys_op { - int (*func) (void *); + int (*func) (void *, void *); void *data; }; @@ -170,7 +170,7 @@ int appcore_pause_rotation_cb(void); int appcore_resume_rotation_cb(void); struct ui_wm_rotate { - int (*set_rotation_cb) (int (*cb) (enum appcore_rm, void *), void *data); + int (*set_rotation_cb) (int (*cb) (void *event_info, enum appcore_rm, void *), void *data); int (*unset_rotation_cb) (void); int (*get_rotation_state) (enum appcore_rm *curr); int (*pause_rotation_cb) (void); |