-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathThread2.h
More file actions
35 lines (34 loc) · 1.14 KB
/
Thread2.h
File metadata and controls
35 lines (34 loc) · 1.14 KB
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
//---------------------------------------------------------------------------
#ifndef Thread2H
#define Thread2H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
//---------------------------------------------------------------------------
class Thread2 : public TThread
{
private:
Iterator<PtrBook> *It;
int NumOfBadConditionBook;
bool RepairBooks;
bool getingBooks;
bool inspectingBooks;
int randomQuantity;
float ratio;
float progress;
protected:
void __fastcall Execute();
void __fastcall AddBookToCont();
void __fastcall UpdateProgressBar1();
void __fastcall UpdateProgressBar2();
void __fastcall UpdateProgressBar3();
void __fastcall UpdateProgBar1Label();
void __fastcall CompleteGetBooks();
void __fastcall UpdateTableAfterInspect();
void __fastcall UpdateTableAfterRepair();
void __fastcall UpdateProgBar2LabelStart();
void __fastcall UpdateProgBar3LabelStart();
public:
__fastcall Thread2(bool CreateSuspended, bool getting, bool inspecting, bool repair, Iterator<PtrBook> *it);
};
//---------------------------------------------------------------------------
#endif