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
22 lines
364 B
C
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
|