1 #ifndef _INCLUDE_FOLDER_LIST_H_
2 #define _INCLUDE_FOLDER_LIST_H_
4 #include "platform_headers.h"
11 unsigned __int64 size;
17 CFileList(const TCHAR *name);
20 CFileList *PeekCurrentFolder();
21 void PopCurrentFolder();
22 const TCHAR *PeekCurrentFile();
23 void PopCurrentFile();
24 const TCHAR *GetFolderName();
26 void AddFolder(CFileList *pFileList);
27 void AddFile(const TCHAR *name, unsigned __int64 size);
28 unsigned __int64 GetRecursiveSize();
30 static CFileList *BuildFileList(const TCHAR *name, const TCHAR *root_folder);
32 std::list<CFileList *> m_folder_list;
33 std::list<CFileListEntry> m_file_list;
34 TCHAR m_FolderName[MAX_PATH];
35 unsigned __int64 m_TotalSize;
36 unsigned __int64 m_RecursiveSize;
37 bool m_bGotRecursiveSize;
40 #endif //_INCLUDE_FOLDER_LIST_H_