//---------------------------------------------------------------------------

#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
