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

VirtualForm.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_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; // vzone
00049         int m_level;
00050         int m_x;
00051         int m_y;
00052 };
00053 
00054 
00055 } // namespace cgi
00056 
00057 
00058 #endif // _CGI_VIRTUALFORM_H
00059 

Generated for Wolfshade by doxygen 1.3.6

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