00001 /* 00002 Copyright (C) 2011 - 2012 by Lukasz Dobrogowski <lukasz.dobrogowski@gmail.com> 00003 Part of the Battle for Wesnoth Project http://www.wesnoth.org/ 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY. 00011 00012 See the COPYING file for more details. 00013 */ 00014 00015 #ifndef GUI_DIALOGS_MP_CHANGE_CONTROL_HPP_INCLUDED 00016 #define GUI_DIALOGS_MP_CHANGE_CONTROL_HPP_INCLUDED 00017 00018 #include "gui/dialogs/dialog.hpp" 00019 #include "menu_events.hpp" 00020 00021 #include <boost/shared_ptr.hpp> 00022 00023 namespace gui2 { 00024 00025 class tmp_change_control : public tdialog { 00026 public: 00027 class model; 00028 class view; 00029 class controller; 00030 00031 explicit tmp_change_control(events::menu_handler *mh); 00032 boost::shared_ptr<view> get_view(); 00033 00034 private: 00035 /** Inherited from tdialog, implemented by REGISTER_DIALOG. */ 00036 virtual const std::string& window_id() const; 00037 00038 /** Inherited from tdialog. */ 00039 void pre_show(CVideo& video, twindow& window); 00040 void post_show(twindow& window); 00041 00042 events::menu_handler *menu_handler_; 00043 boost::shared_ptr<view> view_; 00044 }; 00045 00046 } 00047 00048 #endif /* ! GUI_DIALOGS_MP_CHANGE_CONTROL_HPP_INCLUDED */
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:02:58 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |