Update plugin API to version 2, add unregister functions for all ResourceManager callbacks

This commit is contained in:
Adam Honse committed 2021-12-29 22:50:00 -06:00
1 parent 6d5ca0b539
commit 938f67016c
3 files changed
+93 -1

No files matched your search

+7 -1
View File
@@ -17,7 +17,13 @@
#define OpenRGBPluginInterface_IID "com.OpenRGBPluginInterface"
#define OPENRGB_PLUGIN_API_VERSION 1
/*-----------------------------------------------------------------------------------------------------*\
| OpenRGB Plugin API Versions |
| 0: OpenRGB 0.6 Unversioned, early plugin API. |
| 1: OpenRGB 0.61 First versioned API, introduced with plugin settings changes |
| 2: OpenRGB 0.7 First released versioned API, callback unregister functions in ResourceManager |
\*-----------------------------------------------------------------------------------------------------*/
#define OPENRGB_PLUGIN_API_VERSION 2
/*-----------------------------------------------------------------------------------------------------*\
| Plugin Tab Location Values |