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   DigitalStream_Make,
17   Dish_Make,
18   Ei_Make,
19   Elgato_Make,
20   Emerson_Make,
21   Fortec_Make,
22   GoldStar_Make,
23   Grundig_Make,
24   Hauppauge_Make,
25   Hitachi_Make,
26   Homecast_Make,
27   JVC_Make,
28   LG_Make,
29   Logitech_Make,
30   Magnavox_Make,
31   Microsoft_Make,
32   Mitsubishi_Make,
33   Nokia_Make,
34   Panasonic_Make,
35   Philco_Make,
36   Philips_Make,
37   Pinnacle_Make,
38   Pioneer_Make,
39   Raite_Make,
40   RCA_Make,
41   Roku_Make,
42   Saba_Make,
43   Sagem_Make,
44   Samsung_Make,
45   Sanyo_Make,
46   Sharp_Make,
47   Sky_Make,
48   Sony_Make,
49   Tivo_Make,
50   Topfield_Make,
51   Toshiba_Make,
52   WD_Make,
53   Westinghouse_Make,
54   Yamaha_Make,
55   Zenith_Make
56 };
59 // An object of convenience:
61 #include <map>
62 typedef std::map<PIRMakeName, const char *> MakeCollection;
64 class PIRMakeMgr
65 {
66 public:
67   PIRMakeMgr();
69   const char *getMakeString(
70     PIRMakeName n);
72   void populateComboBox(
73     QComboBox *cb);
75 private:
76   MakeCollection makes;
77 };
79 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment