From 5abf6a719f6e1326d3259d92aff1849e00433eae Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Wed, 5 Jan 2022 08:26:28 +0100 Subject: Add UI for sort order settings --- fiv-io.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'fiv-io.h') diff --git a/fiv-io.h b/fiv-io.h index e3deac5..f8f3118 100644 --- a/fiv-io.h +++ b/fiv-io.h @@ -79,6 +79,15 @@ cairo_surface_t *fiv_io_open_from_data(const char *data, size_t len, // --- Filesystem -------------------------------------------------------------- +typedef enum _FivIoModelSort { + FIV_IO_MODEL_SORT_NAME, + FIV_IO_MODEL_SORT_MTIME, + FIV_IO_MODEL_SORT_COUNT, + + FIV_IO_MODEL_SORT_MIN = 0, + FIV_IO_MODEL_SORT_MAX = FIV_IO_MODEL_SORT_COUNT - 1 +} FivIoModelSort; + #define FIV_TYPE_IO_MODEL (fiv_io_model_get_type()) G_DECLARE_FINAL_TYPE(FivIoModel, fiv_io_model, FIV, IO_MODEL, GObject) -- cgit v1.2.3-70-g09d2