Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef NotificationThreadUnitH
|
||||
#define NotificationThreadUnitH
|
||||
#include <Data.DBXJSON.hpp>
|
||||
#include "GlobalUnit.h"
|
||||
//---------------------------------------------------------------------------
|
||||
#define NOTIFICATION_GETNOTI_PERIOD ( 5*1000 )
|
||||
#define NOTIFICATION_CUSNOTI_PERIOD ( 5*1000 )
|
||||
#define NOTIFICATION_SHOW_CLOSED 0
|
||||
#define NOTIFICATION_NO_JSONDATA 1
|
||||
#define NOTIFICATION_MENU_JSONDATA 2
|
||||
#define NOTIFICATION_SHOW_FORM 3
|
||||
//---------------------------------------------------------------------------
|
||||
class TNotificationThread : public TThread
|
||||
{
|
||||
private:
|
||||
TForm * m_pForm;
|
||||
protected:
|
||||
void __fastcall Execute();
|
||||
public:
|
||||
__fastcall TNotificationThread(bool CreateSuspended, TForm* pForm);
|
||||
};
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
Reference in New Issue
Block a user