diff options
Diffstat (limited to 'macos.c')
-rw-r--r-- | macos.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -45,6 +45,11 @@ void subsurface_set_conf_bool(char *name, int value) value ? kCFBooleanTrue : kCFBooleanFalse, SUBSURFACE_PREFERENCES); } +void subsurface_set_conf_int(char *name, int value) +{ + /* CF pref stuff here? */ +} + const void *subsurface_get_conf(char *name) { CFPropertyListRef strpref; @@ -65,6 +70,13 @@ int subsurface_get_conf_bool(char *name) return boolpref; } +int subsurface_get_conf_int(char *name) +{ + + return -1; /* CF pref stuff here? */ + +} + void subsurface_flush_conf(void) { int ok = CFPreferencesAppSynchronize(SUBSURFACE_PREFERENCES); |