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