This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
////////////////////////////////////////////////////////////////////////////
//
// Crytek Engine Source File.
// Copyright (C), Crytek Studios, 2002.
// -------------------------------------------------------------------------
// File name: fileutil.h
// Version: v1.00
// Created: 5/11/2002 by Timur.
// Compilers: Visual Studio.NET
// Description:
// -------------------------------------------------------------------------
// History:
//
////////////////////////////////////////////////////////////////////////////
#ifndef __fileutil_h__
#define __fileutil_h__
#pragma once
namespace FileUtil
{
// Find all files matching filespec.
bool ScanDirectory( const CString &path,const CString &filespec,std::vector<CString> &files,bool recursive );
// converts the FILETIME to the C Timestamp (compatible with dbghelp.dll)
DWORD FiletimeToUnixTime(const FILETIME& ft);
// converts the C Timestamp (compatible with dbghelp.dll) to FILETIME
FILETIME UnixTimeToFiletime(DWORD nCTime);
};
#endif // __fileutil_h__