From 4fcdb0e1200823446474690f49ecbb62aa287023 Mon Sep 17 00:00:00 2001 From: "seungha.son" Date: Wed, 31 Aug 2016 09:27:45 +0900 Subject: [PATCH] Arrange deprecated API code position - Deprecated API code position relocate to end of file. Signed-off-by: seungha.son Change-Id: I3d54cd03a28683b0b8b287fc544c74cb4f48ddaf --- lib/src/shortcut_manager.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) 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 */ -- 2.7.4