diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-17 21:29:53 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-17 21:29:53 +0200 |
commit | bcb9f8b3ae7d477a35e2baa48c5f5bcff2d98986 (patch) | |
tree | 309b57b1ad4abb89e133b08ddebabbbdd06a03c3 /plugingui/directory.h | |
parent | 0e048dee411cc20beb2a8667e5bb339f9b7fb939 (diff) | |
parent | 488070f321b1fb24bb0a7022c321c574fd4b06ac (diff) |
Merge branch 'master' into resample
Pull in changes from master.
Diffstat (limited to 'plugingui/directory.h')
-rw-r--r-- | plugingui/directory.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugingui/directory.h b/plugingui/directory.h index 50d5fae..04ed3e7 100644 --- a/plugingui/directory.h +++ b/plugingui/directory.h @@ -36,6 +36,8 @@ #include <sys/stat.h> #include <unistd.h> +#define DIRECTORY_HIDDEN 1 + class Directory { public: @@ -70,10 +72,11 @@ class Directory { static std::string root(); static std::string root(std::string path); static std::string cleanPath(std::string path); - static Directory::EntryList listFiles(std::string path); + static Directory::EntryList listFiles(std::string path, unsigned char filter = 0); static bool isRoot(std::string path); static Directory::DriveList drives(); static bool isDir(std::string path); + static bool isHidden(std::string entry); static bool exists(std::string path); static std::string pathDirectory(std::string filepath); |