mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 14:35:01 -04:00
Initial prototype of settings manager loads JSON settings file and E1.31 detector uses JSON data to detect devices
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "NetworkServer.h"
|
||||
#include "ProfileManager.h"
|
||||
#include "RGBController.h"
|
||||
#include "SettingsManager.h"
|
||||
|
||||
typedef std::function<void(std::vector<i2c_smbus_interface*>&)> I2CBusDetectorFunction;
|
||||
typedef std::function<void(std::vector<RGBController*>&)> DeviceDetectorFunction;
|
||||
@@ -58,6 +59,7 @@ public:
|
||||
NetworkServer* GetServer();
|
||||
|
||||
ProfileManager* GetProfileManager();
|
||||
SettingsManager* GetSettingsManager();
|
||||
|
||||
void DeviceListChanged();
|
||||
void DetectionProgressChanged();
|
||||
@@ -80,6 +82,11 @@ private:
|
||||
\*-------------------------------------------------------------------------------------*/
|
||||
ProfileManager* profile_manager;
|
||||
|
||||
/*-------------------------------------------------------------------------------------*\
|
||||
| Settings Manager |
|
||||
\*-------------------------------------------------------------------------------------*/
|
||||
SettingsManager* settings_manager;
|
||||
|
||||
/*-------------------------------------------------------------------------------------*\
|
||||
| I2C/SMBus Interfaces |
|
||||
\*-------------------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user