Add new API 2.0alpha master 2.0_alpha accepted/tizen/20130520.102720 submit/master/20120920.151039 submit/tizen/20130517.015346
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 22 Aug 2012 07:41:34 +0000 (16:41 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 27 Aug 2012 05:04:46 +0000 (14:04 +0900)
Change package name

Change-Id: I93cd647c7b640cb9497625f10c84daaf4a3c5224

include/shortcut.h
packaging/libshortcut.spec [moved from packaging/shortcut.spec with 97% similarity]
src/main.c

index f5264c4..b488faf 100644 (file)
@@ -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
similarity index 97%
rename from packaging/shortcut.spec
rename to packaging/libshortcut.spec
index 6214c75..6af15e5 100644 (file)
@@ -1,4 +1,4 @@
-Name:      shortcut
+Name:      libshortcut
 Summary:    Shortcut add feature supporting library
 Version:    0.0.5
 Release:    0
index 50c151f..764a92e 100644 (file)
@@ -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 */