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

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment