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