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   Saba_Make,
38   Sagem_Make,
39   Samsung_Make,
40   Sanyo_Make,
41   Sharp_Make,
42   Sky_Make,
43   Sony_Make,
44   Tivo_Make,
45   Topfield_Make,
46   Toshiba_Make,
47   WD_Make,
48   Westinghouse_Make,
49   Yamaha_Make,
50   Zenith_Make
51 };
54 // An object of convenience:
56 #include <map>
57 typedef std::map<PIRMakeName, const char *> MakeCollection;
59 class PIRMakeMgr
60 {
61 public:
62   PIRMakeMgr();
64   const char *getMakeString(
65     PIRMakeName n);
67   void populateComboBox(
68     QComboBox *cb);
70 private:
71   MakeCollection makes;
72 };
74 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment