Пример #1
0
const PPFile& GetPPFile(const char *path)
{
	LTIMING("GetPPFile");
	Time tm = GetFileTimeCached(path);
	PPFile& f = sPPfile.GetPut(path);
	LLOG("GetPPFile " << path << ", " << f.filetime << ", " << tm);
	if(f.filetime != tm) {
		f.filetime = tm;
		FileIn in(path);
		f.Parse(in);
	}
	return f;
}