diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-03-31 23:18:47 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-04-05 00:09:53 +0200 |
commit | c64686480500cbcd744f029f4bd5bd5d3003e989 (patch) | |
tree | 0fd670bae40b5266aa7cf43801ecaf1b5057b84e /fiv-io.h | |
parent | c2196df141017872fd8480de4bc8e6a8b6a6a95b (diff) | |
download | fiv-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |