X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fpkgmgrinfo_type.h;h=62c5281ca8f712620421f7465108fbe328442947;hb=9cbdda4a8e804a747a5ddc5a863b230234553043;hp=30524e6d9636973632e9f71bf9e8adc0c71b8312;hpb=825b606af22e970e719f76365ebba6a18486cd71;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git diff --git a/include/pkgmgrinfo_type.h b/include/pkgmgrinfo_type.h index 30524e6..62c5281 100644 --- a/include/pkgmgrinfo_type.h +++ b/include/pkgmgrinfo_type.h @@ -46,6 +46,16 @@ #define APP_BG_CATEGORY_IOTCOMM_STR "iot-communication" #define APP_BG_CATEGORY_SYSTEM "system" +/* Integer property for support-mode */ +#define APP_SUPPORT_MODE_ULTRA_POWER_SAVING_VAL 0x00001 +#define APP_SUPPORT_MODE_COOL_DOWN_VAL 0x00002 +#define APP_SUPPORT_MODE_SCREEN_READER_VAL 0x00004 + +/* String property for support-mode */ +#define APP_SUPPORT_MODE_ULTRA_POWER_SAVING_STR "ultra-power-saving" +#define APP_SUPPORT_MODE_COOL_DOWN_STR "cool-down" +#define APP_SUPPORT_MODE_SCREEN_READER_STR "screen-reader" + /** * @brief A type to retrieve uid information from the manifest handle */ @@ -56,7 +66,7 @@ typedef struct { /** * @brief A handle to insert certificate information */ -typedef void* pkgmgrinfo_instcertinfo_h; +typedef void *pkgmgrinfo_instcertinfo_h; /** * @brief Certificate Types to be used for setting information @@ -127,6 +137,27 @@ enum { */ #define PMINFO_PKGINFO_INSTALL_LOCATION_EXTERNAL "LOCATION_EXTERNAL" +/** + * @brief Value to be used when get/set update information + */ +#define PMINFO_UPDATEINFO_TYPE_FORCE "force" + +/** + * @brief Value to be used when get/set update information + */ +#define PMINFO_UPDATEINFO_TYPE_OPTIONAL "optional" + +/** + * @brief Value to be used when get/set update information + */ +#define PMINFO_UPDATEINFO_TYPE_NONE "none" + +typedef enum { + PMINFO_UPDATEINFO_NONE = 0, /**