mangos/contrib/dbcEditer/thOpenSource.h
2015-03-22 22:10:05 +00:00

25 lines
788 B
C++

//---------------------------------------------------------------------------
#ifndef thOpenSourceH
#define thOpenSourceH
//---------------------------------------------------------------------------
#include <Classes.hpp>
//---------------------------------------------------------------------------
class thOpenFile : public TThread
{
private:
protected:
void __fastcall Execute();
void __fastcall RunOpen();
public:
bool thEnd;
int ColType[10000];
__fastcall thOpenFile(bool CreateSuspended);
void LoadAndModify(const char* pszFileName);
void ReadAndModifyFromBuff(char* pBuff, DWORD dwSize, const char* pszFileName);
};
//---------------------------------------------------------------------------
#endif