00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _CGI_OBJECTFORM_H
00020 #define _CGI_OBJECTFORM_H
00021
00022 #include <map>
00023
00024
00025 namespace cgi
00026 {
00027 typedef std::map<long,db::Obj_type *> objtypes_t;
00028 typedef std::map<long,db::Obj_material *> materials_t;
00029
00030
00031 class ObjectForm : public BaseForm
00032 {
00033 public:
00034 ObjectForm(Web *);
00035 ~ObjectForm();
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 objtypes_t m_objtype;
00045 bool m_error;
00046 materials_t m_material;
00047 long m_edita;
00048 long m_editx;
00049 long m_editr;
00050 };
00051
00052
00053 }
00054
00055
00056 #endif // _CGI_OBJECTFORM_H
00057