mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-20 21:41:02 -04:00
Description:add startScreen Feature
Match-id-ac751a4511a3e385320912de43c9860f0c22a529
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "distributed_hardware_log.h"
|
||||
#include "nlohmann/json.hpp"
|
||||
|
||||
namespace OHOS {
|
||||
namespace DistributedHardware {
|
||||
@@ -31,8 +32,14 @@ struct DevInfo {
|
||||
};
|
||||
|
||||
DevInfo GetLocalDeviceInfo();
|
||||
std::string GetLocalNetworkId();
|
||||
uint64_t GetCurrentTime();
|
||||
std::string SetAnonyId(const std::string &message);
|
||||
/* IsString, IsUint32 and IsUint64 are used to valid json key */
|
||||
bool IsString(const nlohmann::json& jsonObj, const std::string& key);
|
||||
bool IsInt32(const nlohmann::json& jsonObj, const std::string& key);
|
||||
bool IsUint32(const nlohmann::json& jsonObj, const std::string& key);
|
||||
bool IsUint64(const nlohmann::json& jsonObj, const std::string& key);
|
||||
} // namespace DistributedInput
|
||||
} // namespace DistributedHardware
|
||||
} // namespace OHOS
|
||||
|
||||
Reference in New Issue
Block a user