MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / PluginManager

Method PluginManager

PluginManager.cpp:6–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "OpenRGBThemeManager.h"
5
6PluginManager::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
24void PluginManager::RegisterAddPluginCallback(AddPluginCallback new_callback, void * new_callback_arg)
25{

Callers

nothing calls this directly

Calls 2

getFunction · 0.50

Tested by

no test coverage detected