projects
/
pierogi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixed installation and nasty exit bug
[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
Ei_Make,
12
GoldStar_Make,
13
Hauppauge_Make,
14
JVC_Make,
15
LG_Make,
16
Mitsubishi_Make,
17
Nokia_Make,
18
Panasonic_Make,
19
Philips_Make,
20
Raite_Make,
21
RCA_Make,
22
Sagem_Make,
23
Samsung_Make,
24
Sanyo_Make,
25
Sharp_Make,
26
Sony_Make,
27
Toshiba_Make,
28
Westinghouse_Make,
29
Yamaha_Make,
30
Zenith_Make
31
};
32
33
34
// An object of convenience:
35
36
typedef std::map<PIRMakeName, const char *> MakeCollection;
37
38
class PIRMakeMgr
39
{
40
public:
41
PIRMakeMgr();
42
43
const char *getMakeString(
44
PIRMakeName n);
45
46
void populateComboBox(
47
QComboBox *cb);
48
49
private:
50
MakeCollection makes;
51
};
52
53
#endif // PIRMAKENAMES_H