The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
player_network.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003 - 2016 by David White <[email protected]>
3  Copyright (C) 2009 - 2016 by Tomasz Sniatowski <[email protected]>
4  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 #ifndef SERVER_PLAYER_NETWORK_HPP_INCLUDED
17 #define SERVER_PLAYER_NETWORK_HPP_INCLUDED
18 
19 #include "player.hpp"
20 #include "simple_wml.hpp"
21 
22 #include "utils/functional.hpp"
23 #include "log.hpp"
24 
26 namespace wesnothd {
27 
28 namespace chat_message {
29  /**
30  * Function to ensure a text message is within the allowed length
31  */
34 } // end chat_message namespace
35 
36 } //end namespace wesnothd
37 
38 #endif
This class represents a single stored chat message.
Definition: data.hpp:27
void truncate_message(const simple_wml::string_span &str, simple_wml::node &message)
Function to ensure a text message is within the allowed length.
Definition: ban.cpp:28
Standard logging facilities (interface).
lg::log_domain log_config_pn
GLsizei GLenum GLuint GLuint GLsizei char * message
Definition: glew.h:2499