Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
a99054b9d337ea3c639bccec749e8f11f403340f
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   Mitsubishi_Make,
19   Nokia_Make,
20   Panasonic_Make,
21   Philips_Make,
22   Pinnacle_Make,
23   Raite_Make,
24   RCA_Make,
25   Sagem_Make,
26   Samsung_Make,
27   Sanyo_Make,
28   Sharp_Make,
29   Sony_Make,
30   Toshiba_Make,
31   Westinghouse_Make,
32   Yamaha_Make,
33   Zenith_Make
34 };
37 // An object of convenience:
39 typedef std::map<PIRMakeName, const char *> MakeCollection;
41 class PIRMakeMgr
42 {
43 public:
44   PIRMakeMgr();
46   const char *getMakeString(
47     PIRMakeName n);
49   void populateComboBox(
50     QComboBox *cb);
52 private:
53   MakeCollection makes;
54 };
56 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment