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   Admiral_Make,
11   Aiwa_Make,
12   Apple_Make,
13   Bose_Make,
14   Daewoo_Make,
15   Denon_Make,
16   Ei_Make,
17   Elgato_Make,
18   GoldStar_Make,
19   Grundig_Make,
20   Hauppauge_Make,
21   Hitachi_Make,
22   JVC_Make,
23   LG_Make,
24   Logitech_Make,
25   Magnavox_Make,
26   Microsoft_Make,
27   Mitsubishi_Make,
28   Nokia_Make,
29   Panasonic_Make,
30   Philco_Make,
31   Philips_Make,
32   Pinnacle_Make,
33   Pioneer_Make,
34   Raite_Make,
35   RCA_Make,
36   Roku_Make,
37   Sagem_Make,
38   Samsung_Make,
39   Sanyo_Make,
40   Sharp_Make,
41   Sony_Make,
42   Tivo_Make,
43   Topfield_Make,
44   Toshiba_Make,
45   Westinghouse_Make,
46   Yamaha_Make,
47   Zenith_Make
48 };
51 // An object of convenience:
53 #include <map>
54 typedef std::map<PIRMakeName, const char *> MakeCollection;
56 class PIRMakeMgr
57 {
58 public:
59   PIRMakeMgr();
61   const char *getMakeString(
62     PIRMakeName n);
64   void populateComboBox(
65     QComboBox *cb);
67 private:
68   MakeCollection makes;
69 };
71 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment