diff options
Diffstat (limited to 'plugingui/directory.h')
-rw-r--r-- | plugingui/directory.h | 4 |
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__*/ |