Restructure: move sources to Src/, add README, update .gitignore

This commit is contained in:
2026-09-13 10:01:03 +08:00
parent 754cd7ccdb
commit e5ba880981
226 changed files with 1304 additions and 416 deletions
+33
View File
@@ -0,0 +1,33 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "NotificationThreadUnit.h"
#include "NotificationFormUnit.h"
#pragma package(smart_init)
//---------------------------------------------------------------------------
__fastcall TNotificationThread::TNotificationThread(bool CreateSuspended, TForm* pForm)
: TThread(CreateSuspended)
{
m_pForm = pForm;
}
//---------------------------------------------------------------------------
void __fastcall TNotificationThread::Execute()
{
if( ((TNotificationForm *)m_pForm)->ParseJson() &&
((TNotificationForm *)m_pForm)->LoadImg() )
{
PostMessage(Application->MainForm->Handle, UM_NOTIFICATION,
NOTIFICATION_SHOW_FORM , 0 );
}else{
PostMessage(Application->MainForm->Handle, UM_NOTIFICATION,
NOTIFICATION_NO_JSONDATA, 0 );
}
}
//---------------------------------------------------------------------------