fbd-dev-leds: Use gi-docgen compatible format

We don't document the server classes via gi-docgen atm but
as we use it for the lib update classes we touch.
This commit is contained in:
Guido Günther
2023-02-10 15:15:12 +00:00
committed by Guido Gunther
parent 1013974958
commit 253d178cfc
+8 -9
View File
@@ -16,15 +16,6 @@
#include <gio/gio.h>
/**
* SECTION:fbd-dev-led
* @short_description: LED device interface
* @Title: FbdDevLeds
*
* #FbdDevLeds is used to interface with LEDS via sysfs
* It currently only supports one pattern per led at a time.
*/
#define LED_BRIGHTNESS_ATTR "brightness"
#define LED_MAX_BRIGHTNESS_ATTR "max_brightness"
#define LED_MULTI_INDEX_ATTR "multi_index"
@@ -48,6 +39,14 @@ typedef struct _FbdDevLed {
FbdFeedbackLedColor color;
} FbdDevLed;
/**
* FbdDevLeds:
*
* LED device interface
*
* #FbdDevLeds is used to interface with LEDS via sysfs
* It currently only supports one pattern per led at a time.
*/
typedef struct _FbdDevLeds {
GObject parent;