aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/FileManager.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/FileManager.hpp b/plugins/FileManager.hpp
index e452c40..4e36b3c 100644
--- a/plugins/FileManager.hpp
+++ b/plugins/FileManager.hpp
@@ -27,6 +27,9 @@ namespace QuickMedia {
bool set_current_directory(const std::string &path);
const std::filesystem::path& get_current_directory() const { return current_dir; }
PluginResult get_files_in_directory(BodyItems &result_items);
+
+ // |fallback| is used if no directory has been accessed
+ static std::filesystem::path& get_last_accessed_directory(std::filesystem::path &fallback);
private:
std::filesystem::path current_dir;
FileManagerMimeType mime_type;