fbd-dev-led: Move multicolor handling to separate class
Everything related to multicolor moves into the new class and we add the necessary getters and setters so derived classes can access the parent classes attributes where needed.
This commit is contained in:
committed by
Guido Gunther
parent
ca712e9a32
commit
995d21b587
@@ -19,6 +19,7 @@ G_DECLARE_DERIVABLE_TYPE (FbdDevLed, fbd_dev_led, FBD, DEV_LED, GObject)
|
||||
|
||||
FbdDevLed *fbd_dev_led_new (GUdevDevice *dev, GError **err);
|
||||
gboolean fbd_dev_led_set_brightness (FbdDevLed *led, guint brightness);
|
||||
guint fbd_dev_led_get_max_brightness (FbdDevLed *led);
|
||||
gboolean fbd_dev_led_start_periodic (FbdDevLed *led,
|
||||
FbdFeedbackLedColor color,
|
||||
guint max_brightness_percentage,
|
||||
|
||||
Reference in New Issue
Block a user