Freeciv-3.3
Loading...
Searching...
No Matches
chatline_common.h
Go to the documentation of this file.
1/**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__CHATLINE_COMMON_H
14#define FC__CHATLINE_COMMON_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* utility */
21#include "support.h" /* bool type */
22
23/* common */
24#include "featured_text.h" /* struct text_tag_list, struct ft_color */
25
26int send_chat(const char *message);
27int send_chat_printf(const char *format, ...)
29
31 const char *featured_text);
33 const char *format, va_list args);
35 const char *format, ...)
38 const struct text_tag_list *tags, int conn_id);
39
42
43void fc_allocate_ow_mutex(void);
44void fc_release_ow_mutex(void);
45void fc_init_ow_mutex(void);
46void fc_destroy_ow_mutex(void);
47
48#ifdef __cplusplus
49}
50#endif /* __cplusplus */
51
52#endif /* FC__CHATLINE_COMMON_H */
int send_chat(const char *message)
int send_chat_printf(const char *format,...) fc__attribute((__format__(__printf__
void write_chatline_content(const char *txt)
void fc_allocate_ow_mutex(void)
void fc_release_ow_mutex(void)
void output_window_printf(const struct ft_color color, const char *format,...) fc__attribute((__format__(__printf__
void void output_window_event(const char *plain_text, const struct text_tag_list *tags, int conn_id)
void output_window_vprintf(const struct ft_color color, const char *format, va_list args)
int void output_window_append(const struct ft_color color, const char *featured_text)
void chat_welcome_message(bool gui_has_copying_mitem)
void fc_destroy_ow_mutex(void)
void fc_init_ow_mutex(void)
char * incite_cost
Definition comments.c:76
Definition colors.h:21
#define fc__attribute(x)
Definition support.h:99