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   LG_Make,
15   Nokia_Make,
16   Panasonic_Make,
17   Samsung_Make,
18   Sanyo_Make,
19   Sharp_Make,
20   Sony_Make,
21   Toshiba_Make,
22   Zenith_Make
23 };
26 // An object of convenience:
28 typedef std::map<PIRMakeName, const char *> MakeCollection;
30 class PIRMakeMgr
31 {
32 public:
33   PIRMakeMgr();
35   const char *getMakeString(
36     PIRMakeName n);
38   void populateComboBox(
39     QComboBox *cb);
41 private:
42   MakeCollection makes;
43 };
45 #endif // PIRMAKENAMES_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment