]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
move reload enum to opts
authorBastian Dehn <hhaalo@arcor.de>
Sat, 18 Oct 2025 08:16:09 +0000 (10:16 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 18 Oct 2025 08:16:09 +0000 (10:16 +0200)
src/kds_s2000w_handler.h
src/kds_s2000w_handler_opts.c

index eb0ca837ac0a749f4cd039d109c5b090a8698414..c391f6ddd81f865b12a8a16a41553628e514f8ef 100644 (file)
@@ -4,11 +4,6 @@
 #include <stdbool.h>
 #include <json-c/json.h>
 
-enum {
-       RELOAD_OPTIONS = 2,
-       RELOAD_PARAMS = 4
-};
-
 typedef enum {
        NOTCONNECTED,
        OPENED,
index a15bc8077bec13accdcab190de0868f0f9b52196..60e58b878eaf2a75aa9b92578c1d414081ede060 100644 (file)
 #define GUI_DPI 300
 #define CONFIGURATION "Configuration"
 
+enum {
+       RELOAD_OPTIONS = 2,
+       RELOAD_PARAMS = 4
+};
+
 void _kds_s2000w_handler_opts_write_value_to_json(json_object* value_object, SANE_Value_Type value_type, void* value)
 {
        if (value_type == SANE_TYPE_INT || value_type == SANE_TYPE_BOOL) {