diff options
Diffstat (limited to 'CPP/7zip/UI/Common/DirItem.h')
-rw-r--r-- | CPP/7zip/UI/Common/DirItem.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/CPP/7zip/UI/Common/DirItem.h b/CPP/7zip/UI/Common/DirItem.h index 337cd1a7..55b2872c 100644 --- a/CPP/7zip/UI/Common/DirItem.h +++ b/CPP/7zip/UI/Common/DirItem.h @@ -141,7 +141,16 @@ public: bool SymLinks; bool ScanAltStreams; - + bool ExcludeDirItems; + bool ExcludeFileItems; + + /* it must be called after anotrher checks */ + bool CanIncludeItem(bool isDir) const + { + return isDir ? !ExcludeDirItems : !ExcludeFileItems; + } + + CDirItemsStat Stat; #if !defined(UNDER_CE) |