diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2012-08-22 16:41:34 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2012-08-27 14:04:46 +0900 |
commit | 925238dcac4d7db7070214ebd526b14d5adaee54 (patch) | |
tree | a71dca3afd7d1f80c53ffb9dd3c4a50fd824edf8 | |
parent | 9b09e3b4c4c701f875420bb7c3f3039591ef7953 (diff) | |
download | shortcut-master.tar.gz shortcut-master.tar.bz2 shortcut-master.zip |
Add new APIsubmit/tizen/20130517.015346submit/master/20120920.151039accepted/tizen/20130520.1027202.0_alphamaster2.0alpha
Change package name
Change-Id: I93cd647c7b640cb9497625f10c84daaf4a3c5224
-rw-r--r-- | include/shortcut.h | 2 | ||||
-rw-r--r-- | packaging/libshortcut.spec (renamed from packaging/shortcut.spec) | 2 | ||||
-rw-r--r-- | src/main.c | 7 |
3 files changed, 9 insertions, 2 deletions
diff --git a/include/shortcut.h b/include/shortcut.h index f5264c4..b488faf 100644 --- a/include/shortcut.h +++ b/include/shortcut.h @@ -211,6 +211,8 @@ extern int shortcut_set_request_cb(request_cb_t request_cb, void *data); */ extern int shortcut_add_to_home(const char *pkgname, const char *name, int type, const char *content_info, const char *icon, result_cb_t result_cb, void *data); +extern int add_to_home_shortcut(const char *pkgname, const char *name, int type, const char *content_info, const char *icon, result_cb_t result_cb, void *data); + #ifdef __cplusplus } #endif diff --git a/packaging/shortcut.spec b/packaging/libshortcut.spec index 6214c75..6af15e5 100644 --- a/packaging/shortcut.spec +++ b/packaging/libshortcut.spec @@ -1,4 +1,4 @@ -Name: shortcut +Name: libshortcut Summary: Shortcut add feature supporting library Version: 0.0.5 Release: 0 @@ -701,7 +701,7 @@ EAPI int shortcut_set_request_cb(request_cb_t request_cb, void *data) -EAPI int shortcut_add_to_home(const char *pkgname, const char *name, int type, const char *content_info, const char *icon, result_cb_t result_cb, void *data) +EAPI int add_to_home_shortcut(const char *pkgname, const char *name, int type, const char *content_info, const char *icon, result_cb_t result_cb, void *data) { struct packet *packet; int pkgname_len; @@ -763,6 +763,11 @@ EAPI int shortcut_add_to_home(const char *pkgname, const char *name, int type, c return 0; } +EAPI int shortcut_add_to_home(const char *pkgname, const char *name, int type, const char *content_info, const char *icon, result_cb_t result_cb, void *data) +{ + return add_to_home_shortcut(pkgname, name, type, content_info, icon, result_cb, data); +} + /* End of a file */ |