Apply profiles server-side rather than client-side, signal active profile update, forward loaded profile to local client for plugins

This commit is contained in:
Adam Honse
2026-02-03 11:36:29 -06:00
parent a58e79ba71
commit 04ef7a2c28
7 changed files with 456 additions and 103 deletions

View File

@@ -82,12 +82,16 @@ public:
bool LoadProfile(std::string profile_name);
void OnProfileAboutToLoad();
void OnProfileLoaded(std::string profile_json_string);
nlohmann::json ReadProfileJSON(std::string profile_name);
bool SaveProfile(std::string profile_name);
bool SaveProfileFromJSON(nlohmann::json profile_json);
bool SaveSizes();
void SetActiveProfile(std::string profile_name);
void SetConfigurationDirectory(const filesystem::path& directory);
void SetProfileListFromDescription(char * data_buf);