projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Another "final" fix to the installer
[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
Aiwa_Make,
11
Apple_Make,
12
Bose_Make,
13
Denon_Make,
14
Ei_Make,
15
Elgato_Make,
16
GoldStar_Make,
17
Hauppauge_Make,
18
Hitachi_Make,
19
JVC_Make,
20
LG_Make,
21
Magnavox_Make,
22
Mitsubishi_Make,
23
Nokia_Make,
24
Panasonic_Make,
25
Philips_Make,
26
Pinnacle_Make,
27
Pioneer_Make,
28
Raite_Make,
29
RCA_Make,
30
Sagem_Make,
31
Samsung_Make,
32
Sanyo_Make,
33
Sharp_Make,
34
Sony_Make,
35
Tivo_Make,
36
Toshiba_Make,
37
Westinghouse_Make,
38
Yamaha_Make,
39
Zenith_Make
40
};
41
42
43
// An object of convenience:
44
45
#include <map>
46
typedef std::map<PIRMakeName, const char *> MakeCollection;
47
48
class PIRMakeMgr
49
{
50
public:
51
PIRMakeMgr();
52
53
const char *getMakeString(
54
PIRMakeName n);
55
56
void populateComboBox(
57
QComboBox *cb);
58
59
private:
60
MakeCollection makes;
61
};
62
63
#endif // PIRMAKENAMES_H