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