!XT (Code) Update copyright headers in Code/Sandbox.
[CRYENGINE.git] / Code / Sandbox / EditorQt / Util / FileEnum.h
blob25e8d185936a6eb3296ff8d78f18a6b670a15064
1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
3 #pragma once
4 //////////////////////////////////////////////////////////////////////////
5 // CryENGINE Source File
6 // Copyright (C) 2000-2012, Crytek GmbH, All rights reserved
7 //////////////////////////////////////////////////////////////////////////
9 class CFileEnum
11 public:
12 CFileEnum();
13 virtual ~CFileEnum();
14 bool GetNextFile(struct __finddata64_t* pFile);
15 bool StartEnumeration(const char* szEnumPathAndPattern, __finddata64_t* pFile);
16 bool StartEnumeration(const char* szEnumPath, const char* szEnumPattern, __finddata64_t* pFile);
17 static bool ScanDirectory(
18 const string& path,
19 const string& file,
20 std::vector<string>& files,
21 bool bRecursive = true,
22 bool bSkipPaks = false);
24 protected:
25 intptr_t m_hEnumFile;