CommThread.h 744 B

123456789101112131415161718192021222324252627
  1. //---------------------------------------------------------------------------
  2. #ifndef CommThreadH
  3. #define CommThreadH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include "ITSLogF.h"
  7. //---------------------------------------------------------------------------
  8. class TCommThread : public TThread
  9. {
  10. private:
  11. protected:
  12. void __fastcall Execute();
  13. public:
  14. __fastcall TCommThread(void);
  15. __fastcall TCommThread(bool CreateSuspended);
  16. __fastcall ~TCommThread(void);
  17. void DisplayMsg(unsigned int AMsg);
  18. IPC_LOG_MESSAGE FLogMsg;
  19. int LogWrite(int ALogKind, char *AFmt, ...);
  20. };
  21. //---------------------------------------------------------------------------
  22. #endif