33template<
typename TYP = CFileFinder>
98 virtual bool OnFoundFolder(LPCTSTR lpszFoundFolder,
const WIN32_FIND_DATA& data,
int depth)
100 ::OutputDebugString(_T(
"OnFoundFolder("));
101 ::OutputDebugString(lpszFoundFolder);
102 ::OutputDebugString(_T(
")\n"));
114 virtual void OnFoundFile(LPCTSTR lpszFoundName,
const WIN32_FIND_DATA& data,
int depth)
116 ::OutputDebugString(_T(
"OnFoundFile("));
117 ::OutputDebugString(lpszFoundName);
118 ::OutputDebugString(_T(
")\n"));
126 void m_Find(LPCTSTR lpszPath)
133 if ( m_continue && ff.Start(lpszPath, _T(
"\\*")) )
137 CStr fileName = ff->cFileName;
139 fullPath.
Format(_T(
"%s\\%s"), lpszPath, fileName);
140 if ( (ff->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0 )
153 while ( m_continue && ff.Next() );
virtual bool OnFoundFolder(LPCTSTR lpszFoundFolder, const WIN32_FIND_DATA &data, int depth)
[通知] フォルダ発見通知.
CDeepFileFinderT(void)
コンストラクタ
virtual void OnFoundFile(LPCTSTR lpszFoundName, const WIN32_FIND_DATA &data, int depth)
[通知] ファイル発見通知.
void OndemandStop(DWORD result)
[依頼] 停止依頼.
DWORD Execute(LPCTSTR lpszPath)
[実行] 検索開始.
virtual void OnStartFindFolder(TYP &finder, LPCTSTR lpszTargetPath, int depth)
[通知] フォルダ検索開始通知.
void Format(const TYP *lpszFormat,...)
[代入] 書式付き文字列代入.
CDeepFileFinderT CDeepFileFinder
ディープファイル検索クラス
void IgnoreUnusedValue(const T &value)
[宣言] 参照しない値宣言.