Add new event type 04/11804/1
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 5 Nov 2013 09:44:27 +0000 (18:44 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 5 Nov 2013 09:44:27 +0000 (18:44 +0900)
Change-Id: I9a96acb0dd33688554657c388cfd8e2f1453ba07

include/provider.h
packaging/libprovider.spec

index 363c5b2..62da783 100644 (file)
@@ -137,11 +137,13 @@ struct event_arg {
                struct lb_destroy {
                        /* This enumeration value must has to be sync with data-provider-master */
                        enum instance_destroy_type {
-                               INSTANCE_DESTROY_DEFAULT,
-                               INSTANCE_DESTROY_PKGMGR,
-                               INSTANCE_DESTROY_TERMINATE,
-                               INSTANCE_DESTROY_FAULT,
-                               INSTANCE_DESTROY_UNKNOWN,
+                               INSTANCE_DESTROY_DEFAULT = 0x00,
+                               INSTANCE_DESTROY_PKGMGR = 0x01, /* For the compatibility */
+                               INSTANCE_DESTROY_UPGRADE = 0x01,
+                               INSTANCE_DESTROY_UNINSTALL = 0x02,
+                               INSTANCE_DESTROY_TERMINATE = 0x03,
+                               INSTANCE_DESTROY_FAULT = 0x04,
+                               INSTANCE_DESTROY_UNKNOWN = 0x05,
                        } type;
                } lb_destroy; /*!< delete */
 
index 18a884f..82a8e36 100644 (file)
@@ -1,5 +1,5 @@
 Name:          libprovider
-Version:       0.9.12
+Version:       0.9.13
 Release:       1
 License:       Flora
 Summary:       Library for developing the livebox service provider