aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-03-31 23:18:47 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-04-05 00:09:53 +0200
commitc64686480500cbcd744f029f4bd5bd5d3003e989 (patch)
tree0fd670bae40b5266aa7cf43801ecaf1b5057b84e /fiv-io.h
parentc2196df141017872fd8480de4bc8e6a8b6a6a95b (diff)
downloadfiv-c64686480500cbcd744f029f4bd5bd5d3003e989.tar.gz
fiv-c64686480500cbcd744f029f4bd5bd5d3003e989.tar.xz
fiv-c64686480500cbcd744f029f4bd5bd5d3003e989.zip
Add directory tree traversal functionality
Thus far merely bound to the [ and ] keys in the browser.
Diffstat (limited to 'fiv-io.h')
-rw-r--r--fiv-io.h5
1 files changed, 5 insertions, 0 deletions
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