Initial prototype of settings manager loads JSON settings file and E1.31 detector uses JSON data to detect devices
This commit is contained in:
parent
5b15251d46
commit
5b68efd09f
6 changed files with 275 additions and 204 deletions
|
|
@ -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 |
|
||||
\*-------------------------------------------------------------------------------------*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue