mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-11 19:07:33 +08:00
[feat] remember remote display resolutions on mobile clients
This commit is contained in:
1 parent
23f48dc761
commit
25fb2a3d7f
15 files changed
+253
-33
No files matched your search
@@ -58,6 +58,10 @@ struct DisplayResolutionPreference {
|
||||
DisplayResolution resolution;
|
||||
};
|
||||
|
||||
// JSON-free boundary for native bridges that do not expose the JSON library.
|
||||
bool ParseDisplayResolutionPreferences(
|
||||
const std::string &text, std::vector<DisplayResolutionPreference> &result);
|
||||
|
||||
inline bool ValidDisplayResolutionPreference(
|
||||
const DisplayResolutionPreference &preference) {
|
||||
return !preference.display_key.empty() &&
|
||||
|
||||
Reference in new issue
Block a user