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
Cambridge_Make,
16
Daewoo_Make,
17
Denon_Make,
18
DigitalStream_Make,
19
Dish_Make,
20
Ei_Make,
21
Elgato_Make,
22
Emerson_Make,
23
Fortec_Make,
24
GoldStar_Make,
25
Grundig_Make,
26
Haier_Make,
27
Hauppauge_Make,
28
Hitachi_Make,
29
Homecast_Make,
30
JVC_Make,
31
Kenwood_Make,
32
LG_Make,
33
Logitech_Make,
34
Magnavox_Make,
35
Microsoft_Make,
36
Mitsubishi_Make,
37
Nokia_Make,
38
Panasonic_Make,
39
Philco_Make,
40
Philips_Make,
41
Pinnacle_Make,
42
Pioneer_Make,
43
Raite_Make,
44
RCA_Make,
45
Roku_Make,
46
Saba_Make,
47
Sagem_Make,
48
Samsung_Make,
49
Sanyo_Make,
50
Sharp_Make,
51
Sky_Make,
52
Sony_Make,
53
Tivo_Make,
54
Topfield_Make,
55
Toshiba_Make,
56
WD_Make,
57
Westinghouse_Make,
58
Yamaha_Make,
59
Zenith_Make
60
};
61
62
63
// An object of convenience:
64
65
#include <map>
66
typedef std::map<PIRMakeName, const char *> MakeCollection;
67
68
class PIRMakeMgr
69
{
70
public:
71
PIRMakeMgr();
72
73
const char *getMakeString(
74
PIRMakeName n);
75
76
void populateComboBox(
77
QComboBox *cb);
78
79
private:
80
MakeCollection makes;
81
};
82
83
#endif // PIRMAKENAMES_H