summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/macos.c b/macos.c
index cdfce4c67..af72a69e3 100644
--- a/macos.c
+++ b/macos.c
@@ -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);