From c64686480500cbcd744f029f4bd5bd5d3003e989 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Fri, 31 Mar 2023 23:18:47 +0200 Subject: Add directory tree traversal functionality Thus far merely bound to the [ and ] keys in the browser. --- fiv-io.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fiv-io.h') diff --git a/fiv-io.h b/fiv-io.h index 484e43b..af382f9 100644 --- a/fiv-io.h +++ b/fiv-io.h @@ -130,6 +130,11 @@ gboolean fiv_io_model_open(FivIoModel *self, GFile *directory, GError **error); /// There is no ownership transfer, and the object may be NULL. GFile *fiv_io_model_get_location(FivIoModel *self); +/// Returns the previous VFS directory in order, or NULL. +GFile *fiv_io_model_get_previous_directory(FivIoModel *self); +/// Returns the next VFS directory in order, or NULL. +GFile *fiv_io_model_get_next_directory(FivIoModel *self); + typedef struct { gchar *uri; ///< GIO URI gchar *target_uri; ///< GIO URI for any target -- cgit v1.2.3-70-g09d2