summaryrefslogtreecommitdiff
path: root/plugingui/directory.h
diff options
context:
space:
mode:
authorjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 15:22:49 +0200
committerjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 15:22:49 +0200
commit2eedb967d2a3f8026163bd182e973106e6846a13 (patch)
tree71922ee5a65fa5d3af2719b4c853466eae27d5c5 /plugingui/directory.h
parentdda686a04556a4cbbed0d8acf68c7d017b613024 (diff)
Setting directory to previous selected directory when selecting new file.
Diffstat (limited to 'plugingui/directory.h')
-rw-r--r--plugingui/directory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/directory.h b/plugingui/directory.h
index a85d0bb..391bf45 100644
--- a/plugingui/directory.h
+++ b/plugingui/directory.h
@@ -70,7 +70,8 @@ class Directory {
static bool isRoot(std::string path);
static Directory::DriveList drives();
static bool isDir(std::string path);
- static bool exists(std::string file);
+ static bool exists(std::string path);
+ static std::string pathDirectory(std::string filepath);
private:
std::string _path;
@@ -79,6 +80,7 @@ class Directory {
typedef std::list<std::string> Path;
static Path parsePath(std::string path);
+ static std::string pathToStr(Path &path);
};
#endif/*__DRUMGIZMO_DIRECTORY_H__*/