projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mapped rocker switch to favorite 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
Bose_Make,
14
Daewoo_Make,
15
Denon_Make,
16
DigitalStream_Make,
17
Ei_Make,
18
Elgato_Make,
19
Emerson_Make,
20
GoldStar_Make,
21
Grundig_Make,
22
Hauppauge_Make,
23
Hitachi_Make,
24
JVC_Make,
25
LG_Make,
26
Logitech_Make,
27
Magnavox_Make,
28
Microsoft_Make,
29
Mitsubishi_Make,
30
Nokia_Make,
31
Panasonic_Make,
32
Philco_Make,
33
Philips_Make,
34
Pinnacle_Make,
35
Pioneer_Make,
36
Raite_Make,
37
RCA_Make,
38
Roku_Make,
39
Saba_Make,
40
Sagem_Make,
41
Samsung_Make,
42
Sanyo_Make,
43
Sharp_Make,
44
Sky_Make,
45
Sony_Make,
46
Tivo_Make,
47
Topfield_Make,
48
Toshiba_Make,
49
WD_Make,
50
Westinghouse_Make,
51
Yamaha_Make,
52
Zenith_Make
53
};
54
55
56
// An object of convenience:
57
58
#include <map>
59
typedef std::map<PIRMakeName, const char *> MakeCollection;
60
61
class PIRMakeMgr
62
{
63
public:
64
PIRMakeMgr();
65
66
const char *getMakeString(
67
PIRMakeName n);
68
69
void populateComboBox(
70
QComboBox *cb);
71
72
private:
73
MakeCollection makes;
74
};
75
76
#endif // PIRMAKENAMES_H