#include "rar.hpp" ScanTree::ScanTree(StringList *FileMasks,RECURSE_MODE Recurse,bool GetLinks,SCAN_DIRS GetDirs) { … } ScanTree::~ScanTree() { … } SCAN_CODE ScanTree::GetNext(FindData *FD) { … } // For masks like dir1\dir2*\*.ext in non-recursive mode. bool ScanTree::ExpandFolderMask() { … } // For masks like dir1\dir2*\file.ext this function sets 'dir1' recursive mask // and '*\dir2*\file.ext' filter. Masks without folder wildcards are // returned as is. bool ScanTree::GetFilteredMask() { … } bool ScanTree::GetNextMask() { … } SCAN_CODE ScanTree::FindProc(FindData *FD) { … } void ScanTree::ScanError(bool &Error) { … }