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