mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-18 17:24:42 -04:00
@@ -39,7 +39,7 @@ const static std::string LONG_PATH_HEAD = "\\\\?\\";
|
||||
const static std::string ID_DEFINED_INDENTATION = " ";
|
||||
const static int32_t VERSION_MAX_LEN = 128;
|
||||
const static int32_t INT_TO_BYTES = sizeof(uint32_t);
|
||||
static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 4.005" };
|
||||
static const int8_t RESTOOL_VERSION[VERSION_MAX_LEN] = { "Restool 4.101" };
|
||||
const static int32_t TAG_LEN = 4;
|
||||
|
||||
enum class KeyType {
|
||||
@@ -88,6 +88,7 @@ enum class DeviceType {
|
||||
// RESERVER 3
|
||||
TV = 4,
|
||||
WEARABLE = 6,
|
||||
TWOINONE = 7,
|
||||
};
|
||||
|
||||
enum class ResolutionType {
|
||||
@@ -143,6 +144,7 @@ const std::map<std::string, DeviceType> g_deviceMap = {
|
||||
{ "car", DeviceType::CAR },
|
||||
{ "tv", DeviceType::TV },
|
||||
{ "wearable", DeviceType::WEARABLE },
|
||||
{ "2in1", DeviceType::TWOINONE },
|
||||
};
|
||||
|
||||
const std::map<std::string, ResolutionType> g_resolutionMap = {
|
||||
|
||||
Reference in New Issue
Block a user