summaryrefslogtreecommitdiff
path: root/plugingui/directory.h
diff options
context:
space:
mode:
authorjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 11:43:03 +0200
committerjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 11:43:03 +0200
commitedcd71e1de45196ec8f14ffa6cf7659ea2c0221f (patch)
tree71c0835b06ed3957311c431c1ff43ec06602ab7b /plugingui/directory.h
parentc6de5ceeb79539926390221ba283fe1174558fe5 (diff)
Fixed lot of stuff.
Diffstat (limited to 'plugingui/directory.h')
-rw-r--r--plugingui/directory.h3
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;