projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Still fixing install, more keyset work
[pierogi]
/
pirmakenames.h
1
#ifndef PIRMAKENAMES_H
2
#define PIRMAKENAMES_H
3
4
#include <QComboBox>
5
#include <map>
6
7
// The list of brands currently known by Pierogi:
8
enum PIRMakeName{
9
Any_Make,
10
Apple_Make,
11
Denon_Make,
12
Ei_Make,
13
GoldStar_Make,
14
Hauppauge_Make,
15
Hitachi_Make,
16
JVC_Make,
17
LG_Make,
18
Mitsubishi_Make,
19
Nokia_Make,
20
Panasonic_Make,
21
Philips_Make,
22
Pinnacle_Make,
23
Raite_Make,
24
RCA_Make,
25
Sagem_Make,
26
Samsung_Make,
27
Sanyo_Make,
28
Sharp_Make,
29
Sony_Make,
30
Toshiba_Make,
31
Westinghouse_Make,
32
Yamaha_Make,
33
Zenith_Make
34
};
35
36
37
// An object of convenience:
38
39
typedef std::map<PIRMakeName, const char *> MakeCollection;
40
41
class PIRMakeMgr
42
{
43
public:
44
PIRMakeMgr();
45
46
const char *getMakeString(
47
PIRMakeName n);
48
49
void populateComboBox(
50
QComboBox *cb);
51
52
private:
53
MakeCollection makes;
54
};
55
56
#endif // PIRMAKENAMES_H