summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseungha.son <seungha.son@samsung.com>2016-08-31 09:27:45 +0900
committerseungha.son <seungha.son@samsung.com>2016-08-31 09:30:11 +0900
commit4fcdb0e1200823446474690f49ecbb62aa287023 (patch)
tree1f5e15935c0c98912261ff8a9412b3b9a6867779
parent75fc124fe2310b222d1f8bebdc72229dcbf13168 (diff)
downloadshortcut-4fcdb0e1200823446474690f49ecbb62aa287023.tar.gz
shortcut-4fcdb0e1200823446474690f49ecbb62aa287023.tar.bz2
shortcut-4fcdb0e1200823446474690f49ecbb62aa287023.zip
Arrange deprecated API code position
- Deprecated API code position relocate to end of file. Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I3d54cd03a28683b0b8b287fc544c74cb4f48ddaf
-rwxr-xr-xlib/src/shortcut_manager.c34
1 files 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 */