};
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_UPGRADE = 0x01,
+ INSTANCE_DESTROY_UNINSTALL = 0x02,
+ INSTANCE_DESTROY_TERMINATE = 0x03,
+ INSTANCE_DESTROY_FAULT = 0x04,
+ INSTANCE_DESTROY_UNKNOWN = 0x05,
};
enum instance_state {
*/
if (info->inst_list) {
EINA_LIST_FOREACH_SAFE(info->inst_list, l, n, inst) {
- instance_destroy(inst, INSTANCE_DESTROY_PKGMGR);
+ instance_destroy(inst, INSTANCE_DESTROY_UNINSTALL);
}
} else {
package_destroy(info);
height = instance_lb_height(inst);
size_type = livebox_service_size_type(width, height);
if (info->lb.size_list & size_type) {
- instance_reload(inst, INSTANCE_DESTROY_PKGMGR);
+ instance_reload(inst, INSTANCE_DESTROY_UPGRADE);
} else {
- instance_destroy(inst, INSTANCE_DESTROY_PKGMGR);
+ instance_destroy(inst, INSTANCE_DESTROY_UNINSTALL);
}
}
}