Add support for loading profiles on suspend/resume
This commit is contained in:
parent
7d96b27f28
commit
bd3cc94212
17 changed files with 612 additions and 91 deletions
|
|
@ -47,14 +47,18 @@ public:
|
|||
void AddPlugin(const filesystem::path& path, bool is_system);
|
||||
void RemovePlugin(const filesystem::path& path);
|
||||
|
||||
void LoadPlugin(const filesystem::path& path);
|
||||
void UnloadPlugin(const filesystem::path& path);
|
||||
void EnablePlugin(const filesystem::path& path);
|
||||
void DisablePlugin(const filesystem::path& path);
|
||||
|
||||
void LoadPlugins();
|
||||
void UnloadPlugins();
|
||||
|
||||
std::vector<OpenRGBPluginEntry> ActivePlugins;
|
||||
|
||||
private:
|
||||
void LoadPlugin(OpenRGBPluginEntry* plugin_entry);
|
||||
void UnloadPlugin(OpenRGBPluginEntry* plugin_entry);
|
||||
|
||||
void ScanAndLoadPluginsFrom(const filesystem::path & plugins_dir, bool is_system);
|
||||
|
||||
AddPluginCallback AddPluginCallbackVal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue