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 #include <QComboBox>
5 #include <map>
7 // The list of brands currently known by Pierogi:
8 enum PIRMakeName{
9   Any_Make,
10   Apple_Make,
11   Ei_Make,
12   GoldStar_Make,
13   Hauppauge_Make,
14   JVC_Make,
15   LG_Make,
16   Mitsubishi_Make,
17   Nokia_Make,
18   Panasonic_Make,
19   Philips_Make,
20   Raite_Make,
21   RCA_Make,
22   Sagem_Make,
23   Samsung_Make,
24   Sanyo_Make,
25   Sharp_Make,
26   Sony_Make,
27   Toshiba_Make,
28   Westinghouse_Make,
29   Yamaha_Make,
30   Zenith_Make
31 };
34 // An object of convenience:
36 typedef std::map<PIRMakeName, const char *> MakeCollection;
38 class PIRMakeMgr
39 {
40 public:
41   PIRMakeMgr();
43   const char *getMakeString(
44     PIRMakeName n);
46   void populateComboBox(
47     QComboBox *cb);
49 private:
50   MakeCollection makes;
51 };
53 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment