projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
More Keysets
[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
Bush_Make,
16
Cambridge_Make,
17
Canon_Make,
18
Daewoo_Make,
19
Denon_Make,
20
DigitalStream_Make,
21
Directv_Make,
22
Dish_Make,
23
Ei_Make,
24
Elgato_Make,
25
Emerson_Make,
26
Epson_Make,
27
Fortec_Make,
28
GoldStar_Make,
29
Grundig_Make,
30
Haier_Make,
31
Hauppauge_Make,
32
Hitachi_Make,
33
Homecast_Make,
34
HP_Make,
35
Huawei_Make,
36
Humax_Make,
37
JVC_Make,
38
Kenwood_Make,
39
LG_Make,
40
Logitech_Make,
41
Magnavox_Make,
42
Microsoft_Make,
43
Mitsubishi_Make,
44
Motorola_Make,
45
Nokia_Make,
46
Onida_Make,
47
Panasonic_Make,
48
Philco_Make,
49
Philips_Make,
50
Pinnacle_Make,
51
Pioneer_Make,
52
Raite_Make,
53
RCA_Make,
54
Roku_Make,
55
Saba_Make,
56
Sagem_Make,
57
Samsung_Make,
58
Sanyo_Make,
59
Sharp_Make,
60
Sky_Make,
61
Sony_Make,
62
Technics_Make,
63
Tivo_Make,
64
Topfield_Make,
65
Toshiba_Make,
66
United_Make,
67
Vestel_Make,
68
Virgin_Make,
69
Vizio_Make,
70
WD_Make,
71
Westinghouse_Make,
72
Yamaha_Make,
73
Zenith_Make
74
};
75
76
77
// An object of convenience:
78
79
#include <map>
80
typedef std::map<PIRMakeName, const char *> MakeCollection;
81
82
class PIRMakeMgr
83
{
84
public:
85
PIRMakeMgr();
86
87
const char *getMakeString(
88
PIRMakeName n);
89
90
void populateComboBox(
91
QComboBox *cb);
92
93
private:
94
MakeCollection makes;
95
};
96
97
#endif // PIRMAKENAMES_H