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   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 };
39 // An object of convenience:
41 typedef std::map<PIRMakeName, const char *> MakeCollection;
43 class PIRMakeMgr
44 {
45 public:
46   PIRMakeMgr();
48   const char *getMakeString(
49     PIRMakeName n);
51   void populateComboBox(
52     QComboBox *cb);
54 private:
55   MakeCollection makes;
56 };
58 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment