implement crypto

Signed-off-by: zyphlar <zyphlar@gmail.com>
This commit is contained in:
zyphlar
2025-10-20 17:25:51 -07:00
parent d430a2202e
commit 6c3710859b
11 changed files with 272 additions and 18 deletions

View File

@@ -158,6 +158,11 @@ std::string Platform::DefaultUrlsJSON() const
return DEFAULT_URLS_JSON;
}
std::string Platform::LocationSharingServerUrl() const
{
return LOCATION_SHARING_SERVER_URL;
}
bool Platform::RemoveFileIfExists(std::string const & filePath)
{
return IsFileExistsByFullPath(filePath) ? base::DeleteFileX(filePath) : true;

View File

@@ -271,6 +271,9 @@ public:
/// @return JSON-encoded list of urls if metaserver is unreachable
std::string DefaultUrlsJSON() const;
/// @return default location sharing server URL
std::string LocationSharingServerUrl() const;
bool IsTablet() const { return m_isTablet; }
/// @return information about kinds of memory which are relevant for a platform.