From 0a5f3b25214c11556f62ce04601c06812a3464d8 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 19 May 2025 13:42:39 +0200 Subject: lib: add support for different sort modes --- lib/src/turnsmm/enums.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/src/turnsmm/enums.hpp') diff --git a/lib/src/turnsmm/enums.hpp b/lib/src/turnsmm/enums.hpp index f99a6f1..b866b33 100644 --- a/lib/src/turnsmm/enums.hpp +++ b/lib/src/turnsmm/enums.hpp @@ -15,6 +15,12 @@ namespace Turns Secret, }; + enum struct SortMode + { + Descending, + Ascending, + }; + } // namespace Turns namespace Glib @@ -29,6 +35,7 @@ namespace Glib } VALUE_SPECIALIZATION(Disposition); + VALUE_SPECIALIZATION(SortMode); #undef VALUE_SPECIALIZATION -- cgit v1.2.3