summaryrefslogtreecommitdiffstats
path: root/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows.c')
-rw-r--r--windows.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/windows.c b/windows.c
index 3db08deab..948b1f701 100644
--- a/windows.c
+++ b/windows.c
@@ -84,6 +84,11 @@ void subsurface_set_conf_bool(char *name, int value)
free(wname);
}
+void subsurface_set_conf_int(char *name, int value)
+{
+ /* call to set registry key to value here? */
+}
+
const void *subsurface_get_conf(char *name)
{
const int csize = 64;
@@ -127,6 +132,11 @@ int subsurface_get_conf_bool(char *name)
return get_from_registry(hkey, name);
}
+int subsurface_get_conf_int(char *name)
+{
+ return -1; /* windows registry call here? */
+}
+
void subsurface_flush_conf(void)
{
/* this is a no-op */