mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-08 05:17:56 +00:00
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user