diff options
| author | Ray Koopa | 2017-01-16 23:19:43 +0100 |
|---|---|---|
| committer | Ray Koopa | 2017-01-24 21:07:02 +0100 |
| commit | 1ce9bbc8ed8dd9746eadac82beaf5a6f4c22fdcf (patch) | |
| tree | 9f7258ce4d7a68d56579fea089ec3795c68e4ef2 /core/bind/core_bind.h | |
| parent | d13f2f9e25e380496e706b59720cd85eed299ca2 (diff) | |
| download | godot-1ce9bbc8ed8dd9746eadac82beaf5a6f4c22fdcf.tar.gz godot-1ce9bbc8ed8dd9746eadac82beaf5a6f4c22fdcf.tar.zst godot-1ce9bbc8ed8dd9746eadac82beaf5a6f4c22fdcf.zip | |
Added parameters to skip hidden and/or navigational file system entries
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index f10714720..4d4b16369 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -456,7 +456,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; @@ -485,6 +485,9 @@ public: _Directory(); virtual ~_Directory(); +private: + bool _list_skip_navigational; + bool _list_skip_hidden; }; class _Marshalls : public Reference { |
