| 4 | #include "OpenRGBThemeManager.h" |
| 5 | |
| 6 | PluginManager::PluginManager() |
| 7 | { |
| 8 | /*---------------------------------------------------------*\ |
| 9 | | Initialize plugin manager class variables | |
| 10 | \*---------------------------------------------------------*/ |
| 11 | AddPluginCallbackVal = nullptr; |
| 12 | AddPluginCallbackArg = nullptr; |
| 13 | RemovePluginCallbackVal = nullptr; |
| 14 | RemovePluginCallbackArg = nullptr; |
| 15 | |
| 16 | /*-------------------------------------------------------------------------*\ |
| 17 | | Create OpenRGB plugins directory | |
| 18 | \*-------------------------------------------------------------------------*/ |
| 19 | filesystem::path plugins_dir = ResourceManager::get()->GetConfigurationDirectory() / plugins_path; |
| 20 | |
| 21 | filesystem::create_directories(plugins_dir); |
| 22 | } |
| 23 | |
| 24 | void PluginManager::RegisterAddPluginCallback(AddPluginCallback new_callback, void * new_callback_arg) |
| 25 | { |
nothing calls this directly
no test coverage detected