/
UnitGlobalProcess.h
48 lines (42 loc) · 2.09 KB
/
UnitGlobalProcess.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
46
47
48
/*
╔══╦╗╔╗╔╦══╗╔══╗╔══╗ ╔══╦══╦════╦╗╔╗ ╔╗─╔══╦╗╔╦╗─╔╦══╦╗╔╦═══╦═══╗
║╔═╣║║║║║╔╗║║╔═╝╚╗╔╝ ║╔═╩╗╔╩═╗╔═╣║║║ ║║─║╔╗║║║║╚═╝║╔═╣║║║╔══╣╔═╗║
║╚═╣║║║║║╚╝╚╣╚═╗─║║ ║╚═╗║║──║║─║╚╝║ ║║─║╚╝║║║║╔╗─║║─║╚╝║╚══╣╚═╝║
╚═╗║║║║║║╔═╗║╔═╝─║║ ╚═╗║║║──║║─║╔╗║ ║║─║╔╗║║║║║╚╗║║─║╔╗║╔══╣╔╗╔╝
╔═╝║╚╝╚╝║╚═╝║║──╔╝╚╗ ╔═╝╠╝╚╗─║║─║║║║ ║╚═╣║║║╚╝║║─║║╚═╣║║║╚══╣║║║
╚══╩═╝╚═╩═══╩╝──╚══╝ ╚══╩══╝─╚╝─╚╝╚╝ ╚══╩╝╚╩══╩╝─╚╩══╩╝╚╩═══╩╝╚╝
Created by FOXente (Aradam)
License GPL-3.0
*/
#ifndef UnitGlobalProcessH
#define UnitGlobalProcessH
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "sLabel.hpp"
#include <IOUtils.hpp>
#include "ZipForge.hpp"
class TFormGlobalProcess : public TForm
{
__published : // IDE-managed Components
TsLabel *sLabelWait;
void __fastcall FormShow (TObject *Sender);
private : // User declarations
public : // User declarations
__fastcall TFormGlobalProcess (TComponent* Owner);
};
class TGlobalProcessThread : public TThread
{
private :
protected :
void __fastcall Execute ();
void __fastcall FormClosing ();
public :
__fastcall TGlobalProcessThread (bool CreateSuspended);
};
extern PACKAGE TFormGlobalProcess *FormGlobalProcess;
extern PACKAGE int ProcessId;
extern PACKAGE UnicodeString ProcessName;
extern PACKAGE UnicodeString ProcessArguments [10];
#endif