Files
feedbackd/src/fbd.h
T
Guido Günther 242519498a Recursively load themes
Themes (other than the default theme) can specify a `parent-name` in the
json file. This theme will be used as a base for the theme. Events and
profiles of the children override those in the parents.

For this we move the lookup code into it's separate class and also add
tests.

Closes: #38
2022-12-11 17:34:38 +01:00

22 lines
364 B
C

#pragma once
#include <glib-object.h>
G_BEGIN_DECLS
/*
* The udev attribute and values devices must have to be handled by
* fbd feedbackd
*/
#define FEEDBACKD_UDEV_ATTR "FEEDBACKD_TYPE"
#define FEEDBACKD_UDEV_VAL_LED "led"
typedef enum {
FBD_ERROR_FAILED = 0,
FBD_ERROR_THEME_EXPAND = 1,
} FbdError;
GQuark fbd_error_quark (void);
G_END_DECLS