00001
00002
00003
00004 #ifndef __OOPT3_H
00005 #define __OOPT3_H
00006
00007 #include <OBUTTON.H>
00008 #include <OFINANCE.H>
00009
00010
00011 enum {
00012 DEPARTMENT_NUM = 9,
00013 FACULTY_NUM = 20
00014 };
00015
00016
00017
00018
00020
00021
00022 public:
00023
00024 double pref[MAX_DEPARTMENT];
00025 short existing[MAX_DEPARTMENT];
00026 short new_hire[MAX_DEPARTMENT];
00027 int remain_hire1;
00028 int remain_hire2;
00029 int remain_hire3;
00030 int line_spacing;
00031
00032
00033 private:
00034 void draw_count_bar(int);
00035 int detect_count_bar(int);
00036 void update_remain();
00037
00038 public:
00039 OptStage3();
00040 ~OptStage3();
00041 void report(int);
00042 void detect();
00043
00044 };
00045
00046 extern OptStage3 opt_stage3;
00047
00048
00049 #endif