Google
Web alhem.net
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ObjectForm.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2003  Anders Hedstrom
00003 
00004 This program is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU General Public License
00006 as published by the Free Software Foundation; either version 2
00007 of the License, or (at your option) any later version.
00008 
00009 This program is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 GNU General Public License for more details.
00013 
00014 You should have received a copy of the GNU General Public License
00015 along with this program; if not, write to the Free Software
00016 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
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 } // namespace cgi
00054 
00055 
00056 #endif // _CGI_OBJECTFORM_H
00057 

Generated for Wolfshade by doxygen 1.3.6

Page, code, and content Copyright (C) 2004 by Anders Hedström