gui/dialogs/mp_host_game_prompt.hpp

Go to the documentation of this file.
00001 /* $Id: mp_host_game_prompt.hpp 53543 2012-03-16 18:42:13Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2008 - 2012 by Jörg Hinrichs <joerg.hinrichs@alice-dsl.de>
00004    Copyright (C) 2012 by Ignacio Riquelme Morelle <shadowm2006@gmail.com>
00005    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 2 of the License, or
00010    (at your option) any later version.
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY.
00013 
00014    See the COPYING file for more details.
00015 */
00016 
00017 #ifndef GUI_DIALOGS_MP_HOST_GAME_PROMPT_HPP_INCLUDED
00018 #define GUI_DIALOGS_MP_HOST_GAME_PROMPT_HPP_INCLUDED
00019 
00020 #include "gui/dialogs/dialog.hpp"
00021 
00022 namespace gui2 {
00023 
00024 class tmp_host_game_prompt
00025     : public tdialog
00026 {
00027 public:
00028 
00029     tmp_host_game_prompt();
00030 
00031     /** The excute function see @ref tdialog for more information. */
00032     static bool execute(CVideo& video)
00033     {
00034         return tmp_host_game_prompt().show(video);
00035     }
00036 
00037 private:
00038 
00039     /** Inherited from tdialog, implemented by REGISTER_DIALOG. */
00040     virtual const std::string& window_id() const;
00041 };
00042 
00043 }
00044 
00045 #endif
00046 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:02:58 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs