123456789101112131415161718192021222324252627282930 |
- #pragma once
- /*
- * CFileUtility.cpp, part of VCMI engine
- *
- * Authors: listed in file AUTHORS in main folder
- *
- * License: GNU General Public License v2.0 or later
- * Full text of license available in license.txt file, in main folder
- *
- */
- /// Struct which stores name, date and a value which says if the file is located in LOD
- struct FileInfo
- {
- std::string name; // file URI (upper case, no extension)
- std::time_t date;
- };
- /*
- class DLL_LINKAGE CFileUtility
- {
- public:
- CFileUtility(void);
- ~CFileUtility(void);
- static void getFilesWithExt(std::vector<FileInfo> &out, const std::string &dirname, const std::string &ext);
- };
- */
|