#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 name with full path and extension std::time_t date; bool inLod; //tells if this file is located in Lod }; class DLL_LINKAGE CFileUtility { public: CFileUtility(void); ~CFileUtility(void); static void getFilesWithExt(std::vector &out, const std::string &dirname, const std::string &ext); };