diff options
author | rollenrolm <rollenrolm@users.noreply.github.com> | 2015-03-21 18:33:32 +0100 |
---|---|---|
committer | rollenrolm <rollenrolm@users.noreply.github.com> | 2015-03-21 18:33:32 +0100 |
commit | db0a71fc58137da99137e9fbea3ee982679c9afd (patch) | |
tree | 2f5231a6e20f12d9fcc9e9799d986b4ecac38699 /core/io | |
parent | 40496dd76ae53c93ef5ea7e56671682a7cae9def (diff) |
New option to show/hide hidden files
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/file_access_pack.cpp | 4 | ||||
-rw-r--r-- | core/io/file_access_pack.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp index 6e03819aac..afbd7e3d46 100644 --- a/core/io/file_access_pack.cpp +++ b/core/io/file_access_pack.cpp @@ -362,6 +362,10 @@ bool DirAccessPack::current_is_dir() const{ return cdir; } +bool DirAccessPack::current_is_hidden() const{ + + return false; +} void DirAccessPack::list_dir_end() { list_dirs.clear(); diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h index 5fcc79aaf4..2d0cf5b32e 100644 --- a/core/io/file_access_pack.h +++ b/core/io/file_access_pack.h @@ -208,6 +208,7 @@ public: virtual bool list_dir_begin(); virtual String get_next(); virtual bool current_is_dir() const; + virtual bool current_is_hidden() const; virtual void list_dir_end(); virtual int get_drive_count(); |