ui/common/properties.c

changeset 108
77254bd6dccb
parent 103
6606616eca9f
child 110
c00e968d018b
--- a/ui/common/properties.c	Sat Apr 05 17:57:04 2025 +0200
+++ b/ui/common/properties.c	Sun Jul 20 22:04:39 2025 +0200
@@ -32,6 +32,10 @@
 #include <sys/stat.h>
 #include <errno.h>
 
+#ifdef _WIN32
+#include <direct.h>
+#endif
+
 #include "../ui/toolkit.h"
 
 
@@ -187,6 +191,11 @@
     return ret;
 }
 
+// public
+int ui_app_save_settings(void) {
+    return uic_store_app_properties();
+}
+
 
 const char* ui_get_property(const char *name) {
     return cxMapGet(application_properties, name);

mercurial