The Battle for Wesnoth
1.13.4+dev
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
server
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
25
extern
lg::log_domain
log_config_pn
;
26
namespace
wesnothd
{
27
28
namespace
chat_message
{
29
/**
30
* Function to ensure a text message is within the allowed length
31
*/
32
void
truncate_message
(
const
simple_wml::string_span
& str,
33
simple_wml::node
&
message
);
34
}
// end chat_message namespace
35
36
}
//end namespace wesnothd
37
38
#endif
simple_wml.hpp
chat_message
This class represents a single stored chat message.
Definition:
data.hpp:27
lg::log_domain
Definition:
log.hpp:98
wesnothd::chat_message::truncate_message
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:
player_network.cpp:29
simple_wml::node
Definition:
simple_wml.hpp:113
player.hpp
wesnothd
Definition:
ban.cpp:28
log.hpp
Standard logging facilities (interface).
log_config_pn
lg::log_domain log_config_pn
message
GLsizei GLenum GLuint GLuint GLsizei char * message
Definition:
glew.h:2499
simple_wml::string_span
Definition:
simple_wml.hpp:34
functional.hpp
Generated by
1.8.8