//--------------------------------------------------------------------------- #ifndef ValidatorThreadH #define ValidatorThreadH //--------------------------------------------------------------------------- #include //--------------------------------------------------------------------------- class ValidatorThread : public TThread { private: protected: bool bStop; int state; void __fastcall Execute(); public: int pay; __fastcall ValidatorThread(bool CreateSuspended); void Stop(); void __fastcall UpdateCaption(); void __fastcall UpdateState(); }; //--------------------------------------------------------------------------- #endif