#include "InstallerUtil.h"
-#define OSP_INSTALLER_VERSION "version=[20130613.1]"
+#define OSP_INSTALLER_VERSION "version=[20130807.1]"
#define DIR_BIN L"/bin"
#define DIR_INFO L"/info"
#define PACKAGE_NAME_RULE_ORG L"org.tizen.%ls#%s"
#define PACKAGE_NAME_RULE L"%ls.%s"
+#define BACKUP_NAME_RULE L"_backup"
#define FILE_EXT_INFO L"info"
#define VERSION_INFO_FILE L"/info/version.info"
#define COMPAT_INFO_FILE L"/info/compat.info"
#define VIRTUAL_ROOT_INFO_FILE L"/info/virtualroot.info"
-#define UISCALABILITY_INFO_FILE L"/info/uiscalability.info"
+#define UISCALABILITY_INFO_FILE L"/uiscalability.info"
+#define UITHEME_INFO_FILE L"/uitheme.info"
+#define DISABLE_SCREEN_READER_INFO_FILE L"/disablescreenreader.info"
#define WEBSERVICE_INFO_FILE L"/info/webservice.info"
#define TYPE_INFO_FILE L"/info/type.info"
#define PACKAGE_XML_FILE L"/info/manifest.xml"
#define AUTHOR_SIGNATURE_XML_FILE L"/author-signature.xml"
#define UISCALABILITY_INFO L"1 %ls %ls %ls"
+#define UITHEME_INFO L"1 %ls %ls"
#define CONFIG_PATH L"/usr/etc/installer-config.ini"
#define DIR_MEMORYCARD_OSP_APPLICATIONS L"/opt/storage/sdcard/apps"
#define DIR_MEMORYCARD_OSP_APPLICATIONS_TEMP L"/opt/storage/sdcard/apps/__@@osp_tmp@@__"
-#define DIR_MEMORYCARD_INSTALLATION L"/opt/storage/sdcard/installtosdcard"
#define PERM_BASE (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) // 0644
#define PERM_EXECUTE (S_IXUSR | S_IXGRP | S_IXOTH)
#define METADATA_SPLASH_INDICATOR_DISPLAY L"http://developer.samsung.com/tizen/metadata/splash/indicatordisplay"
#define METADATA_SPLASH_PORTRAIT L"http://developer.samsung.com/tizen/metadata/splash/portrait"
#define METADATA_SPLASH_LANDSCAPE L"http://developer.samsung.com/tizen/metadata/splash/landscape"
+#define METADATA_DISABLE_SCREEN_READER L"http://developer.samsung.com/tizen/metadata/disablescreenreader"
#define DIR_APPLICATIONS_TMP "/opt/usr/apps/tmp"
#define INSTALLER_RDS_ADD_STR "add"
#define INSTALLER_RDS_MODIFY_STR "modify"
-static const int BLOCK_SIZE = 4096;
+static const int INSTALLER_BLOCK_SIZE = 4096;
static const int SIGNATURE_FILE_NUMBER_DISTRIBUTOR = 1;
static const int SIGNATURE_FILE_NUMBER_DISTRIBUTOR2 = 2;
INSTALLER_ERROR_FATAL_ERROR = 61,
INSTALLER_ERROR_OUT_OF_STORAGE = 62,
INSTALLER_ERROR_OUT_OF_MEMORY = 63,
+ INSTALLER_ERROR_DISABLED = 65,
+ INSTALLER_ERROR_PRIVILEGE_BLACKLIST = 66,
+ INSTALLER_ERROR_SIGNATURE_BLACKLIST = 67,
INSTALLER_ERROR_USER_CANCEL = 141,
INSTALLER_ERROR_UNMOUNT_FAILED = 142,
INSTALLER_ERROR_INTERNAL_STATE = 143,
INSTALLER_ERROR_DATABASE = 144,
INSTALLER_ERROR_DRM = 145,
+ INSTALLER_ERROR_BACKUP_FAILED = 146,
};
enum InstallerOperation
};
+enum SmackDirType
+{
+ SMACK_DIR_TYPE_PRIVATE,
+ SMACK_DIR_TYPE_GROUP_RW,
+ SMACK_DIR_TYPE_PUBLIC_RO,
+ SMACK_DIR_TYPE_SETTINGS_RW,
+ SMACK_DIR_TYPE_ANY_LABEL,
+
+};
+
#endif // _INSTALLER_DEFS_H_