[Tizen-submit] 15943: Changes to Tizen:IVI:Release/pkgmgr

noreply at tizen.org noreply at tizen.org
Mon Oct 14 07:56:01 GMT 2013


Hi,
junsuk77.oh have made the following changes to pkgmgr in project Tizen:IVI:Release. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15943

  submit:       Tizen:IVI:Release:build/pkgmgr(cleanup) -> Tizen:IVI:Release


Message:
Submitter: junsuk77.oh <junsuk77.oh at samsung.com>
Comments: Merge from rsa
Git project: platform/core/appfw/slp-pkgmgr
Tag: submit/tizen/20131014.075642
Commit: 98c325fa00f81841a1898f060f88d0c2cb466076 Sync to the latest code

State:   new        2013-10-14T07:54:24 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- pkgmgr.spec
+++ pkgmgr.spec
@@ -4,7 +4,7 @@
 Summary:    Packager Manager client library package
 Version:    0.2.89
 Release:    1
-VCS:        platform/core/appfw/slp-pkgmgr#submit/tizen/20130912.090704-0-g907c5af1e51595218adaf583409189857e68b6cc
+VCS:        platform/core/appfw/slp-pkgmgr#submit/tizen/20131014.075642-0-g98c325fa00f81841a1898f060f88d0c2cb466076
 Group:      Application Framework/Package Management
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz

other changes:
--------------

++++++ pkgmgr-0.2.89.tar.gz
--- client/include/package-manager.h
+++ client/include/package-manager.h
@@ -97,6 +97,17 @@
 #define PKGMGR_INFO_STR_DATA_SIZE	"data_size"
 #define PKGMGR_INFO_STR_APP_SIZE	"app_size"
 #define PKGMGR_INFO_STR_INSTALLED_TIME	"installed_time"
+
+/**
+ * @brief listening status type in pkgmgr.
+ */
+#define PKGMGR_CLIENT_STATUS_ALL						0x00
+#define PKGMGR_CLIENT_STATUS_INSTALL					0x01
+#define PKGMGR_CLIENT_STATUS_UNINSTALL					0x02
+#define PKGMGR_CLIENT_STATUS_UPGRADE					0x04
+#define PKGMGR_CLIENT_STATUS_MOVE						0x08
+#define PKGMGR_CLIENT_STATUS_CLEAR_DATA					0x10
+#define PKGMGR_CLIENT_STATUS_INSTALL_PROGRESS			0x20
 /** @} */
 
 /* 1 -100 : Package command errors */
@@ -258,12 +269,15 @@
 	PM_REQUEST_MOVE = 1,
 	PM_REQUEST_GET_SIZE = 2,
 	PM_REQUEST_KILL_APP = 3,
+	PM_REQUEST_CHECK_APP = 4,
 	PM_REQUEST_MAX
 }pkgmgr_request_service_type;
 
 typedef enum {
 	PM_GET_TOTAL_SIZE= 0,
 	PM_GET_DATA_SIZE = 1,
+	PM_GET_ALL_PKGS = 2,
+	PM_GET_MAX
 }pkgmgr_getsize_type;
 
 /**
@@ -372,6 +386,26 @@
 				const char *pkgid, pkgmgr_move_type move_type, pkgmgr_mode mode);
 
 /**
+ * @brief	This API moves installed package to SD card or vice versa.
+ *
+ * This API is for package-manager client application.\n
+ *
+ * @param[in]	pc	pkgmgr_client
+ * @param[in]	pkg_type		package type
+ * @param[in]	pkgid	application package id
+ * @param[in]	move_type		PM_MOVE_TO_INTERNAL or PM_MOVE_TO_SDCARD
+ * @param[in]	mode		installation mode  - PM_DEFAULT, PM_QUIET
+ * @param[in]	event_cb	user callback
+ * @param[in]	data		user data
+ * @retval	PKGMGR_R_OK	success
+ * @retval	PKGMGR_R_EINVAL	invalid argument
+ * @retval	PKGMGR_R_ERROR	general error
+*/
+int pkgmgr_client_move_pkg(pkgmgr_client *pc, const char *pkg_type,
+				const char *pkgid, pkgmgr_move_type move_type, pkgmgr_mode mode,
+				pkgmgr_handler event_cb, void *data);
+
+/**
  * @brief	This API activates package.
  *
  * This API is for package-manager client application.\n
@@ -464,6 +498,19 @@
 				const char *appid, pkgmgr_mode mode);

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list