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   RCA_Make,
21   Samsung_Make,
22   Sanyo_Make,
23   Sharp_Make,
24   Sony_Make,
25   Toshiba_Make,
26   Westinghouse_Make,
27   Zenith_Make
28 };
31 // An object of convenience:
33 typedef std::map<PIRMakeName, const char *> MakeCollection;
35 class PIRMakeMgr
36 {
37 public:
38   PIRMakeMgr();
40   const char *getMakeString(
41     PIRMakeName n);
43   void populateComboBox(
44     QComboBox *cb);
46 private:
47   MakeCollection makes;
48 };
50 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment