From: seungha.son Date: Wed, 31 Aug 2016 00:27:45 +0000 (+0900) Subject: Arrange deprecated API code position X-Git-Tag: accepted/tizen/common/20160905.171433~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fcdb0e1200823446474690f49ecbb62aa287023;p=platform%2Fcore%2Fappfw%2Fshortcut.git Arrange deprecated API code position - Deprecated API code position relocate to end of file. Signed-off-by: seungha.son Change-Id: I3d54cd03a28683b0b8b287fc544c74cb4f48ddaf --- diff --git a/lib/src/shortcut_manager.c b/lib/src/shortcut_manager.c index 9e580fb..7e03dc6 100755 --- a/lib/src/shortcut_manager.c +++ b/lib/src/shortcut_manager.c @@ -638,23 +638,6 @@ EAPI int shortcut_add_to_home_widget(const char *name, shortcut_widget_size_e si return ret; } -/* LCOV_EXCL_START */ -EAPI int add_to_home_shortcut(const char *appid, const char *name, int type, const char *content, - const char *icon, int allow_duplicate, result_internal_cb_t result_cb, void *data) -{ - /*Deprecated API */ - return SHORTCUT_ERROR_NONE; -} -/* LCOV_EXCL_STOP */ - -/* LCOV_EXCL_START */ -EAPI int add_to_home_dynamicbox(const char *appid, const char *name, int type, const char *content, const char *icon, double period, int allow_duplicate, result_internal_cb_t result_cb, void *data) -{ - /*Deprecated API */ - return SHORTCUT_ERROR_NONE; -} -/* LCOV_EXCL_STOP */ - EAPI int shortcut_get_list(const char *package_name, shortcut_list_cb list_cb, void *data) { GDBusMessage *reply = NULL; @@ -705,4 +688,21 @@ EAPI int shortcut_get_list(const char *package_name, shortcut_list_cb list_cb, v return ret; } +/* LCOV_EXCL_START */ +EAPI int add_to_home_shortcut(const char *appid, const char *name, int type, const char *content, + const char *icon, int allow_duplicate, result_internal_cb_t result_cb, void *data) +{ + /*Deprecated API */ + return SHORTCUT_ERROR_NONE; +} +/* LCOV_EXCL_STOP */ + +/* LCOV_EXCL_START */ +EAPI int add_to_home_dynamicbox(const char *appid, const char *name, int type, const char *content, const char *icon, double period, int allow_duplicate, result_internal_cb_t result_cb, void *data) +{ + /*Deprecated API */ + return SHORTCUT_ERROR_NONE; +} +/* LCOV_EXCL_STOP */ + /* End of a file */