-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMySelectInfo.h
More file actions
93 lines (83 loc) · 2.41 KB
/
MySelectInfo.h
File metadata and controls
93 lines (83 loc) · 2.41 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/////////////////////////////////////////////////////////////////////////////
//MySelectInfo.h
//////////////////////////////////////////////////////////////////////
#ifndef T_MY_SELECT_INFO_H
#define T_MY_SELECT_INFO_H
#include "MListParametrs.h"
#include "MySettings.h"
#include "MyLanguage.h"
#include "TArchive.h"
#include "TAce.h"
#include "TArcPak.h"
#include "TArj.h"
#include "TBh.h"
#include "TBZip2Tbz2.h"
#include "TCab.h"
#include "TCpio.h"
#include "TDwc.h"
#include "TGZipTgz.h"
#include "THa.h"
#include "TLhaLzh.h"
#include "TPpm.h"
#include "TRar.h"
#include "TSqz.h"
#include "TTar.h"
#include "TZ.h"
#include "TZipJar.h"
#include "TZoo.h"
#include "TSevenZip.h"
#include "TWcxPluginTC.h"
//klass dlya testirivaniya faylov
//prosto sobrat' eti funkcii vmeste
class MySelectInfo
{
private:
//edinici izmereniya informacii
enum UnitSize
{
T_BYTE, //bayti
T_KBYTE, //kilobayti
T_MBYTE, //megabayti
T_GBYTE, //gigabayti
T_TBYTE //terrabayti
};
MySettings* m_pSettings;
MyLanguage* m_pLanguage;
TArchive* m_pArchData;
TypeOfArchive* m_pArchiveType;
MListParametrs* m_pListParam;
char** m_ppTextComment;
double m_TestTime;
int* m_pRatio1;
int* m_pRatio2;
//vspomogatel'nie funkcii
char* GetUnitSizeStr (UnitSize, LanguageOther&);
int NumberSeparatorString (char*, ULONGLONG);
int NumberSeparatorStringUnitSize(char*, ULONGLONG, UnitSize, LanguageOther&);
int NumberFloatStringUnitSize (char*, ULONGLONG, UnitSize, LanguageOther&);
int SelectInfoAce ();
int SelectInfoArcPak ();
int SelectInfoArj ();
int SelectInfoBh ();
int SelectInfoBZip2Tbz2 ();
int SelectInfoCab ();
int SelectInfoCpio ();
int SelectInfoDwc ();
int SelectInfoGZipTgz ();
int SelectInfoHa ();
int SelectInfoLhaLzh ();
int SelectInfoPpm ();
int SelectInfoRar ();
int SelectInfoSqz ();
int SelectInfoTar ();
int SelectInfoZ ();
int SelectInfoZipJar ();
int SelectInfoZoo ();
int SelectInfoSevenZip ();
int SelectInfoWcxPluginTC();
public:
MySelectInfo() {;}
~MySelectInfo() {;}
int SelectInfoArchive(MySettings*, MyLanguage*, TArchive*, TypeOfArchive*, MListParametrs*, char**, double, int*, int*);
};
#endif //T_MY_SELECT_INFO_H