fbd-dev-led: Make structure opaque
This will allow us to turn it into a GObject
This commit is contained in:
committed by
Guido Gunther
parent
5d8b2e5fe4
commit
f17ca72c1b
+1
-12
@@ -13,18 +13,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _FbdDevLed {
|
||||
GUdevDevice *dev;
|
||||
guint max_brightness;
|
||||
guint red_index;
|
||||
guint green_index;
|
||||
guint blue_index;
|
||||
/*
|
||||
* We just use the colors from the feedback until we
|
||||
* do rgb mixing, etc
|
||||
*/
|
||||
FbdFeedbackLedColor color;
|
||||
} FbdDevLed;
|
||||
typedef struct _FbdDevLed FbdDevLed;
|
||||
|
||||
void fbd_dev_led_free (FbdDevLed *led);
|
||||
gboolean fbd_dev_led_set_brightness (FbdDevLed *led, guint brightness);
|
||||
|
||||
Reference in New Issue
Block a user