[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
+21
View File
@@ -0,0 +1,21 @@
/*
* @Author: DI JUNKUN
* @Date: 2026-10-15
* Copyright (c) 2026 by DI JUNKUN, All Rights Reserved.
*/
#ifndef _MOBILE_SESSION_H_
#define _MOBILE_SESSION_H_
#include <string>
namespace crossdesk::harmony {
// Commands execute on one worker. MiniRTC callbacks copy their borrowed data
// before queuing it. Poll is the only bridge to the ArkTS thread.
// Mobile uses an identity-only signaling peer and can never accept a guest.
__attribute__((visibility("default"))) void MobileCommand(const std::string& json);
__attribute__((visibility("default"))) std::string MobilePoll();
__attribute__((visibility("default"))) void MobileShutdown();
}
#endif