mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-05 08:44:58 -04:00
Make device functions private in RGBController and fix DeviceUpdateLEDs usage in cli.cpp
This commit is contained in:
1 parent
c86ce82e97
commit
0b02dc6235
2 files changed
+18
-18
No files matched your search
@@ -196,23 +196,6 @@ public:
|
||||
|
||||
void ConfigureDevice(controller_flags new_flags, std::string new_name);
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Functions to be implemented in device implementation |
|
||||
\*-----------------------------------------------------*/
|
||||
virtual void DeviceConfigureDevice();
|
||||
virtual void DeviceConfigureZone(int zone_idx);
|
||||
|
||||
virtual void DeviceUpdateLEDs();
|
||||
virtual void DeviceUpdateZoneLEDs(int zone);
|
||||
virtual void DeviceUpdateSingleLED(int led);
|
||||
|
||||
virtual void DeviceUpdateMode();
|
||||
virtual void DeviceUpdateZoneMode(int zone);
|
||||
virtual void DeviceSaveMode();
|
||||
|
||||
virtual void DeviceUpdateDeviceSpecificConfiguration();
|
||||
virtual void DeviceUpdateDeviceSpecificZoneConfiguration(int zone);
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Static Serialized Description Functions |
|
||||
\*-----------------------------------------------------*/
|
||||
@@ -315,6 +298,23 @@ protected:
|
||||
void SetupColors();
|
||||
void UpdateLEDsInternal();
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Functions to be implemented in device implementation |
|
||||
\*-----------------------------------------------------*/
|
||||
virtual void DeviceConfigureDevice();
|
||||
virtual void DeviceConfigureZone(int zone_idx);
|
||||
|
||||
virtual void DeviceUpdateLEDs();
|
||||
virtual void DeviceUpdateZoneLEDs(int zone);
|
||||
virtual void DeviceUpdateSingleLED(int led);
|
||||
|
||||
virtual void DeviceUpdateMode();
|
||||
virtual void DeviceUpdateZoneMode(int zone);
|
||||
virtual void DeviceSaveMode();
|
||||
|
||||
virtual void DeviceUpdateDeviceSpecificConfiguration();
|
||||
virtual void DeviceUpdateDeviceSpecificZoneConfiguration(int zone);
|
||||
|
||||
private:
|
||||
/*-----------------------------------------------------*\
|
||||
| Device thread variables |
|
||||
|
||||
Reference in new issue
Block a user