Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
1 #ifndef PIRMAKENAMES_H
2 #define PIRMAKENAMES_H
4 #include <QComboBox>
5 #include <map>
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 };
40 // An object of convenience:
42 typedef std::map<PIRMakeName, const char *> MakeCollection;
44 class PIRMakeMgr
45 {
46 public:
47   PIRMakeMgr();
49   const char *getMakeString(
50     PIRMakeName n);
52   void populateComboBox(
53     QComboBox *cb);
55 private:
56   MakeCollection makes;
57 };
59 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment