-
Notifications
You must be signed in to change notification settings - Fork 2
/
SplashForm.h
45 lines (44 loc) · 1.45 KB
/
SplashForm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//$$---- Form HDR ----
//---------------------------------------------------------------------------
#ifndef SplashFormH
#define SplashFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
#include "RzStatus.hpp"
//---------------------------------------------------------------------------
class TThreadClass : public TThread
{
private:
protected:
void __fastcall Execute();
public:
__fastcall TThreadClass(bool CreateSuspended);
};
//---------------------------------------------------------------------------
class TSplashFormClass : public TForm
{
__published: // IDE-managed Components
TImage *SplashImage;
TTimer *Timer1;
TRzProgressStatus *ProgressStatus;
void __fastcall Timer1Timer(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
private: // User declarations
unsigned int msgRestore;
TThreadClass* ThreadClass;
public: // User declarations
bool SplashClose;
__fastcall TSplashFormClass(TComponent* Owner);
void __fastcall OnTerminate(TObject *);
};
//---------------------------------------------------------------------------
extern PACKAGE TSplashFormClass *SplashFormClass;
//---------------------------------------------------------------------------
#endif