diff options
author | jsc@umbraculum.org <jsc@umbraculum.org> | 2013-04-26 11:43:03 +0200 |
---|---|---|
committer | jsc@umbraculum.org <jsc@umbraculum.org> | 2013-04-26 11:43:03 +0200 |
commit | edcd71e1de45196ec8f14ffa6cf7659ea2c0221f (patch) | |
tree | 71c0835b06ed3957311c431c1ff43ec06602ab7b /plugingui/directory.h | |
parent | c6de5ceeb79539926390221ba283fe1174558fe5 (diff) |
Fixed lot of stuff.
Diffstat (limited to 'plugingui/directory.h')
-rw-r--r-- | plugingui/directory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/directory.h b/plugingui/directory.h index 53213ee..48b0dd4 100644 --- a/plugingui/directory.h +++ b/plugingui/directory.h @@ -57,7 +57,7 @@ class Directory { bool cd(std::string dir); bool isDir(); void setPath(std::string path); - bool exists(std::string file); + bool fileExists(std::string file); // Add filter, ie. directories or files only EntryList entryList(); @@ -70,6 +70,7 @@ class Directory { static bool isRoot(std::string path); static Directory::DriveList drives(); static bool isDir(std::string path); + static bool exists(std::string file); private: std::string _path; |