From edcd71e1de45196ec8f14ffa6cf7659ea2c0221f Mon Sep 17 00:00:00 2001 From: "jsc@umbraculum.org" Date: Fri, 26 Apr 2013 11:43:03 +0200 Subject: Fixed lot of stuff. --- plugingui/directory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugingui/directory.h') 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; -- cgit v1.2.3