gui/dialogs/chat_log.hpp

Go to the documentation of this file.
00001 /* $Id: chat_log.hpp 52869 2012-02-03 20:18:33Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2011 - 2012 by Yurii Chernyi <terraninfo@terraninfo.net>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY.
00012 
00013    See the COPYING file for more details.
00014 */
00015 
00016 #ifndef GUI_DIALOGS_CHAT_LOG_HPP_INCLUDED
00017 #define GUI_DIALOGS_CHAT_LOG_HPP_INCLUDED
00018 
00019 #include "gui/dialogs/dialog.hpp"
00020 #include "../../variable.hpp"
00021 
00022 #include <boost/shared_ptr.hpp>
00023 
00024 class replay;
00025 
00026 namespace gui2 {
00027 
00028 class tchat_log: public tdialog {
00029 public:
00030     class model;
00031     class view;
00032     class controller;
00033     tchat_log(const vconfig &cfg, replay *replay);
00034 
00035     /** Inherited from tdialog. */
00036     twindow* build_window(CVideo& video);
00037 
00038     /** Inherited from tdialog. */
00039     void pre_show(CVideo& video, twindow& window);
00040 
00041     boost::shared_ptr<view> get_view();
00042 
00043 private:
00044     /** Inherited from tdialog, implemented by REGISTER_DIALOG. */
00045     virtual const std::string& window_id() const;
00046 
00047     boost::shared_ptr<view> view_;
00048 
00049 };
00050 
00051 }
00052 
00053 #endif /* ! GUI_DIALOGS_CHAT_LOG_HPP_INCLUDED */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Wed May 23 2012 01:02:43 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs