First draft of plugin API changes
This commit is contained in:
parent
90788131ae
commit
28d590b64d
7 changed files with 302 additions and 161 deletions
|
|
@ -13,12 +13,13 @@
|
|||
|
||||
typedef struct
|
||||
{
|
||||
OpenRGBPluginInfo info;
|
||||
OpenRGBPluginInterface* plugin;
|
||||
std::string path;
|
||||
bool enabled;
|
||||
} OpenRGBPluginEntry;
|
||||
|
||||
typedef void (*AddPluginTabCallback)(void *, OpenRGBPluginInterface* plugin);
|
||||
typedef void (*AddPluginTabCallback)(void *, OpenRGBPluginEntry plugin);
|
||||
|
||||
class PluginManager
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue