]>
Commit | Line | Data |
---|---|---|
8339c44d EB |
1 | #ifndef __VIKING_PREFERENCES_H |
2 | #define __VIKING_PREFERENCES_H | |
3 | ||
4 | #include "uibuilder.h" | |
5 | ||
6 | // TODO IMPORTANT!!!! add REGISTER_GROUP !!! OR SOMETHING!!! CURRENTLY GROUPLESS!!! | |
7 | ||
8 | void a_preferences_init(); | |
9 | void a_preferences_uninit(); | |
10 | ||
11 | /* pref should be persistent thruout the life of the preference. */ | |
12 | ||
13 | /* nothing in pref is copied neither is pref key copied, default param data yes */ | |
14 | void a_preferences_register( VikLayerParam *pref, VikLayerParamData defaultval); | |
15 | ||
16 | void a_preferences_show_window(GtkWindow *parent); | |
17 | ||
18 | VikLayerParamData *a_preferences_get(const gchar *key); | |
19 | ||
20 | #endif |