projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First Extras-Testing Candidate Release
[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
Microsoft_Make,
23
Mitsubishi_Make,
24
Nokia_Make,
25
Panasonic_Make,
26
Philips_Make,
27
Pinnacle_Make,
28
Pioneer_Make,
29
Raite_Make,
30
RCA_Make,
31
Sagem_Make,
32
Samsung_Make,
33
Sanyo_Make,
34
Sharp_Make,
35
Sony_Make,
36
Tivo_Make,
37
Toshiba_Make,
38
Westinghouse_Make,
39
Yamaha_Make,
40
Zenith_Make
41
};
42
43
44
// An object of convenience:
45
46
#include <map>
47
typedef std::map<PIRMakeName, const char *> MakeCollection;
48
49
class PIRMakeMgr
50
{
51
public:
52
PIRMakeMgr();
53
54
const char *getMakeString(
55
PIRMakeName n);
56
57
void populateComboBox(
58
QComboBox *cb);
59
60
private:
61
MakeCollection makes;
62
};
63
64
#endif // PIRMAKENAMES_H