summaryrefslogtreecommitdiffstats
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-25 20:22:34 +0100
committerGitHub <noreply@github.com>2017-01-25 20:22:34 +0100
commit831d9b925af2caaff8f7723723f46e1d98ef0c14 (patch)
tree257a34da937bcf8b8011e6cd10fafae9506b258b /core/bind/core_bind.h
parent266fbd8c7624a0f4c41c5c6296f12059c69c77fb (diff)
parent1ce9bbc8ed8dd9746eadac82beaf5a6f4c22fdcf (diff)
downloadredot-engine-831d9b925af2caaff8f7723723f46e1d98ef0c14.tar.gz
Merge pull request #7563 from RayKoopa/extended_list_dir_begin
Add parameters to Directory.list_dir_begin() to skip navigational or hidden entries
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index fe710704f2..13081fc867 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -458,7 +458,7 @@ public:
Error open(const String& p_path);
- Error list_dir_begin(); ///< This starts dir listing
+ Error list_dir_begin(bool p_skip_internal = false, bool p_skip_hidden = false); ///< This starts dir listing
String get_next();
bool current_is_dir() const;
@@ -487,6 +487,9 @@ public:
_Directory();
virtual ~_Directory();
+private:
+ bool _list_skip_navigational;
+ bool _list_skip_hidden;
};
class _Marshalls : public Reference {