fbd-dev-led: Add class methods so derived classes can override functionality
This commit is contained in:
committed by
Guido Gunther
parent
ac0516329c
commit
ca712e9a32
@@ -27,6 +27,14 @@ gboolean fbd_dev_led_has_color (FbdDevLed *led, FbdFeedbackLedColor c
|
||||
|
||||
struct _FbdDevLedClass {
|
||||
GObjectClass parent_class;
|
||||
|
||||
gboolean (*probe) (FbdDevLed *led, GError **error);
|
||||
gboolean (*start_periodic) (FbdDevLed *led,
|
||||
FbdFeedbackLedColor color,
|
||||
guint max_brightness_percentage,
|
||||
guint freq);
|
||||
gboolean (*has_color) (FbdDevLed *led,
|
||||
FbdFeedbackLedColor color);
|
||||
};
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user