00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _CGI_VIRTUALFORM_H
00020 #define _CGI_VIRTUALFORM_H
00021
00022 #include <map>
00023
00024
00025 namespace cgi
00026 {
00027 typedef std::map<long,db::Room *> rooms_t;
00028
00029
00030 class VirtualForm : public BaseForm
00031 {
00032 public:
00033 VirtualForm(Web *);
00034 ~VirtualForm();
00035
00036 void Process();
00037 void Select(const string &);
00038 void List();
00039 void Display(long = 0);
00040
00041 private:
00042 void CreatePicture(db::Vzone &,db::Vmap &,const string &);
00043
00044 long m_edit;
00045 bool m_error;
00046 rooms_t m_prototype;
00047 bool m_preview;
00048 long m_area;
00049 int m_level;
00050 int m_x;
00051 int m_y;
00052 };
00053
00054
00055 }
00056
00057
00058 #endif // _CGI_VIRTUALFORM_H
00059