projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Website Update
[pierogi]
/
pirmakenames.h
1
#ifndef PIRMAKENAMES_H
2
#define PIRMAKENAMES_H
3
4
class QComboBox;
5
6
// The list of brands currently known by Pierogi:
7
enum PIRMakeName{
8
Any_Make,
9
Acer_Make,
10
Admiral_Make,
11
Aiwa_Make,
12
Apple_Make,
13
Beko_Make,
14
Bose_Make,
15
Cambridge_Make,
16
Daewoo_Make,
17
Denon_Make,
18
DigitalStream_Make,
19
Directv_Make,
20
Dish_Make,
21
Ei_Make,
22
Elgato_Make,
23
Emerson_Make,
24
Epson_Make,
25
Fortec_Make,
26
GoldStar_Make,
27
Grundig_Make,
28
Haier_Make,
29
Hauppauge_Make,
30
Hitachi_Make,
31
Homecast_Make,
32
HP_Make,
33
Huawei_Make,
34
Humax_Make,
35
JVC_Make,
36
Kenwood_Make,
37
LG_Make,
38
Logitech_Make,
39
Magnavox_Make,
40
Microsoft_Make,
41
Mitsubishi_Make,
42
Motorola_Make,
43
Nokia_Make,
44
Onida_Make,
45
Panasonic_Make,
46
Philco_Make,
47
Philips_Make,
48
Pinnacle_Make,
49
Pioneer_Make,
50
Raite_Make,
51
RCA_Make,
52
Roku_Make,
53
Saba_Make,
54
Sagem_Make,
55
Samsung_Make,
56
Sanyo_Make,
57
Sharp_Make,
58
Sky_Make,
59
Sony_Make,
60
Tivo_Make,
61
Topfield_Make,
62
Toshiba_Make,
63
Vestel_Make,
64
Virgin_Make,
65
Vizio_Make,
66
WD_Make,
67
Westinghouse_Make,
68
Yamaha_Make,
69
Zenith_Make
70
};
71
72
73
// An object of convenience:
74
75
#include <map>
76
typedef std::map<PIRMakeName, const char *> MakeCollection;
77
78
class PIRMakeMgr
79
{
80
public:
81
PIRMakeMgr();
82
83
const char *getMakeString(
84
PIRMakeName n);
85
86
void populateComboBox(
87
QComboBox *cb);
88
89
private:
90
MakeCollection makes;
91
};
92
93
#endif // PIRMAKENAMES_H