forked from speedie/spmenu
16 lines
291 B
C
16 lines
291 B
C
|
enum resource_type {
|
||
|
STRING = 0,
|
||
|
INTEGER = 1,
|
||
|
FLOAT = 2
|
||
|
};
|
||
|
|
||
|
typedef struct {
|
||
|
char *name;
|
||
|
enum resource_type type;
|
||
|
void *dst;
|
||
|
} ResourcePref;
|
||
|
|
||
|
/* functions */
|
||
|
static void load_xresources(void);
|
||
|
static void resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst);
|