Add new error code for permission check.
authorSung-jae Park <nicesj.park@samsung.com>
Sun, 30 Jun 2013 01:12:51 +0000 (10:12 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Sun, 30 Jun 2013 01:12:51 +0000 (10:12 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Permission related error code needs to notify it to client.
[cause] User level smack is enabled.
[solution] Add new error code
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: If25aaa6965b57aa67fcfaae54c43658afc556e77

lib/include/shortcut.h
packaging/libshortcut.spec

index 740698e..1b7220f 100644 (file)
@@ -122,6 +122,7 @@ enum shortcut_response {
        SHORTCUT_ERROR_COMM = SHORTCUT_ERROR | 0x0040, /*!< Connection is not estabilished. or there is a problem of communication */ 
        SHORTCUT_ERROR_MEMORY = SHORTCUT_ERROR | 0x0080, /*!< Memory is not enough to handle new request */
        SHORTCUT_ERROR_IO = SHORTCUT_ERROR | 0x0100, /*!< Unable to access file or DB. Check your resource files */
+       SHORTCUT_ERROR_PERMISSION = SHORTCUT_ERROR | 0x0200, /*!< Has no permission to add a shortcut */
 
        SHORTCUT_STATUS_CARED = 0x08000000, /*!< Shortcut status is already cared. check this using SHORTCUT_STATUS_IS_CARED macro */
 };
index 7c5cd02..49c2348 100644 (file)
@@ -1,6 +1,6 @@
 Name: libshortcut
 Summary: Shortcut add feature supporting library
-Version: 0.6.3
+Version: 0.6.4
 Release: 0
 Group: HomeTF/Framework
 License: Apache License