17 Commits

Author SHA1 Message Date
Adam Honse
3d5c59ed43 Rework Profiles to use JSON format
* Update OpenRGB Plugin Interface to include functions for loading/saving profile JSON data into OpenRGB profiles
    * Update ProfileManager to handle auto-load profiles (Exit, Open, Resume, Suspend) and move their settings to ProfileManager section
    * Update ProfileManager to store profiles in "profiles" folder in .json format
    * Update ProfileManager to store size profile in sizes.json
    * Update ProfileManager to perform device UpdateMode/UpdateColors when loading profile
    * Code cleanup of ProfileManager and profile-related code
2025-12-29 13:58:51 -06:00
Adam Honse
340d2c71e6 Move plugin SDK integration from callback into plugin API and PluginManager 2025-12-29 13:56:28 -06:00
Adam Honse
8294f37061 Update Plugin API to 5 and SDK Protocol to 6 2025-12-29 13:56:28 -06:00
Adam Honse
c71cc4f18a Change SPDX license identifier from GPL 2.0 only to GPL 2.0 or later, as the original LICENSE file includes an or later clause at the end so the file headers were incorrect 2025-09-28 00:47:08 -05:00
morg
b3dfd3b4b0 Move ResourceManagerInterface to its own file. Refactor Plugin interface 2025-02-06 20:00:27 -06:00
Adam Honse
f627dfc2cd Increment plugin API version 2025-02-06 20:00:27 -06:00
Adam Honse
a7c400bc65 Update yet more file header comments to standardized new format 2024-05-03 21:56:32 -05:00
Adam Honse
b41ce2dd9d Increment plugin API version as Segments breaks the existing API 2023-01-20 19:00:45 +00:00
Dmitry K
b409b5f7cc Added support for unicode paths (filesystem::path approach) 2023-01-18 06:02:55 +00:00
Adam Honse
938f67016c Update plugin API to version 2, add unregister functions for all ResourceManager callbacks 2021-12-29 22:50:00 -06:00
Adam Honse
2800e76e9d Add GetTrayMenu to plugin API to provide a dedicated interface for registering a tray menu for a plugin 2021-08-29 22:58:58 -05:00
Adam Honse
2f25c4af7f More plugin updates, enum for location 2021-08-30 02:56:57 +00:00
Adam Honse
702be2401b Add comment indicating location is mandatory, list possible locations, rename SettingsTabBar to SettingsTab for consistency 2021-08-30 02:56:57 +00:00
Adam Honse
524fd057fe Add tab icon fields (string and image) to the plugin information and add comments to make it easier for plugin developers to fill in information structure 2021-08-30 02:56:57 +00:00
Adam Honse
28d590b64d First draft of plugin API changes 2021-08-30 02:56:57 +00:00
silas
b1b260d7cf A bit of cleanup (Remove depreciated entry from PluginInfo Struct) 2021-01-07 12:10:27 -06:00
silas
93231c3225 Initial commit for Plugins
Commits squashed, code style and naming changes by Adam Honse <calcprogrammer1@gmail.com>
2021-01-05 20:07:13 -06:00