00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _CGI_MOBFORM_H
00020 #define _CGI_MOBFORM_H
00021
00022 #include <map>
00023
00024
00025 namespace cgi
00026 {
00027 typedef std::map<long,db::Classes *> classes_t;
00028 typedef std::map<long,db::Race *> races_t;
00029
00030
00031 class MobForm : public BaseForm
00032 {
00033 public:
00034 MobForm(Web *);
00035 ~MobForm();
00036
00037 void Process();
00038 void Select(const string &);
00039 void List();
00040 void Display(long = 0);
00041
00042 private:
00043 long m_edit;
00044 bool m_error;
00045 classes_t m_class;
00046 races_t m_race;
00047 };
00048
00049
00050 }
00051
00052
00053 #endif // _CGI_MOBFORM_H
00054