[feat] add HarmonyOS desktop and mobile clients,issue #117

This commit is contained in:
kunkundi
2026-10-16 00:42:55 +08:00
parent 43a0789c1e
commit 45bf6ec4ee
149 changed files with 11587 additions and 93 deletions
+2
View File
@@ -61,6 +61,7 @@ const char* HostPlatformName(HostPlatform platform) {
case HostPlatform::Linux: return "linux";
case HostPlatform::IOS: return "ios";
case HostPlatform::Android: return "android";
case HostPlatform::HarmonyOS: return "harmonyos";
default: return "unknown";
}
}
@@ -71,6 +72,7 @@ HostPlatform ParseHostPlatform(const std::string& platform) {
if (platform == "linux") return HostPlatform::Linux;
if (platform == "ios") return HostPlatform::IOS;
if (platform == "android") return HostPlatform::Android;
if (platform == "harmonyos") return HostPlatform::HarmonyOS;
return HostPlatform::Unknown;
}