mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-07-08 20:35:11 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user