From 66cb9f6ea2e534887e73c885d3f131710c48382d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 6 Jul 2023 19:00:16 +0200 Subject: core: add option type "enum" (closes #1973) The type "enum" replaces type "integer" when used with string values. For compatibility, any option created with type "integer" and string values is automatically created to "enum" on creation, with no error. --- src/plugins/fset/fset-option.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/fset/fset-option.h') diff --git a/src/plugins/fset/fset-option.h b/src/plugins/fset/fset-option.h index 508db23f1..1d6041946 100644 --- a/src/plugins/fset/fset-option.h +++ b/src/plugins/fset/fset-option.h @@ -30,6 +30,7 @@ enum t_fset_option_type FSET_OPTION_TYPE_INTEGER, FSET_OPTION_TYPE_STRING, FSET_OPTION_TYPE_COLOR, + FSET_OPTION_TYPE_ENUM, /* number of option types */ FSET_OPTION_NUM_TYPES, }; -- cgit v1.2.3