Deleted factory_widget, so had to remove isDeletable and places where it was used.
authorJan Olszak <j.olszak@samsung.com>
Thu, 25 Oct 2012 13:39:47 +0000 (15:39 +0200)
committerJihoon Chung <jihoon.chung@samsung.com>
Fri, 2 Nov 2012 07:07:50 +0000 (16:07 +0900)
[Issue#] N/A
[Bug] factory_widget not used anymore
[Cause] N/A
[Solution] Deleted factory_widget, so had to remove isDeletable and places where it was used.
[Verification] Build Plugins. idDeletable should not be used anyware.

Change-Id: I8cee159bb98cbfbe59f9473546ad2ee349c20477

src/plugins-installer/commons/wrt_error.h
src/plugins-installer/jobs/widget_install/widget_install_errors.h
src/plugins-installer/wrt-installer/wrt_type.h

index 5a1960a..22599f3 100644 (file)
@@ -111,8 +111,7 @@ enum WrtError
     WRT_WM_ERR_REMOVE_FILES_FAILED = WRT_WM_ERRCODE + WRT_ERROR_SET(0x0e),
     WRT_WM_ERR_ALREADY_LATEST = WRT_WM_ERRCODE + WRT_ERROR_SET(0x0f),
     WRT_WM_ERR_UPDATE_CANCEL = WRT_WM_ERRCODE + WRT_ERROR_SET(0x10),
-    WRT_WM_ERR_IS_FACTORY_WIDGET = WRT_WM_ERRCODE + WRT_ERROR_SET(0x11),
-    WRT_WM_ERR_INVALID_APP_ID = WRT_WM_ERRCODE + WRT_ERROR_SET(0x12),
+    WRT_WM_ERR_INVALID_APP_ID = WRT_WM_ERRCODE + WRT_ERROR_SET(0x11),
 
     /* Access Control Manager */
     WRT_SAI_ERR_INIT_ACE_FAILED = WRT_SAI_ERRCODE + WRT_ERROR_SET(0x01)
index b91962a..7e3d66f 100644 (file)
@@ -37,7 +37,6 @@ enum Type
 
     ErrorInvalidWidgetPackage,       ///< ?
     ErrorWidgetDoesNotExist,         ///< ?
-    ErrorFactoryWidget,              ///< Widget is factory installed, and cannot be uninstalled
     ErrorAreadyUninstalling,         ///< Widget is already being uninstalled
     ErrorOutOfDiskSpace,             ///< ?
     ErrorInvalidPackage,             ///< Widget signature is invalid.
index 9bc27c0..8e5abb7 100755 (executable)
@@ -75,8 +75,7 @@ typedef enum
     /* Installer Errors*/
     WRT_INSTALLER_ERROR_INVALID_WIDGET_PACKAGE, /*<  */
     WRT_INSTALLER_ERROR_WIDGET_DOES_NOT_EXIST,  /*<  */
-    WRT_INSTALLER_ERROR_FACTORY_WIDGET,         /*< Widget is factory installed,
-                                                   and cannot be uninstalled */
+
     WRT_INSTALLER_ERROR_ALREADY_UNINSTALLING,   /*< Widget is already being
                                                    uninstalled */
     WRT_INSTALLER_ERROR_OUT_OUT_DISK_SPACE,     /*<  */