Debian Codegraph @

src/bnetd/icons.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2014 HarpyWar ([email protected])
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18 #ifndef INCLUDED_ICONS_TYPES
19 #define INCLUDED_ICONS_TYPEScxx . . $ `src/bnetd/icons.h:19:9`!
20
21 namespace pvpgncxx . . $ pvpgn/
22 {
23
24 namespace bnetdcxx . . $ pvpgn/bnetd/
25 {
26
27 typedef structcxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_0#
28 {
29 unsigned int ratingcxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_0#rating.; // rating or something else
30 char * rankcxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_0#rank.; // any string value
31 char * icon_codecxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_0#icon_code.; // icon code
32 } t_icon_infocxx . . $ pvpgn/bnetd/t_icon_info#;
33
34 typedef structcxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_1#
35 {
36 char * clienttagcxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_1#clienttag.;
37 char * attr_keycxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_1#attr_key.;
38 t_list * icon_infocxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_1#icon_info.; // list of t_icon_info
39 t_list * iconstashcxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_1#iconstash.; // list of t_icon_var_info
40
41 t_list * varscxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_1#vars.; // list of t_icon_var_info
42 const char * statscxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_1#stats.;
43 } t_iconset_infocxx . . $ pvpgn/bnetd/t_iconset_info#;
44
45 typedef structcxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_2#
46 {
47 char * keycxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_2#key.;
48 char * valuecxx . . $ pvpgn/bnetd/$anonymous_type_e36c06d23f785114_2#value.;
49 } t_icon_var_infocxx . . $ pvpgn/bnetd/t_icon_var_info#;
50 }
51
52 }
53
54 #endif
55
56 #ifndef JUST_NEED_TYPES
57 #ifndef INCLUDED_ICONS_PROTOS
58 #define INCLUDED_ICONS_PROTOScxx . . $ `src/bnetd/icons.h:58:9`!
59
60 #define JUST_NEED_TYPEScxx . . $ `src/bnetd/icons.h:60:9`!
61 # include "account.h"cxx . . $ `<file>/src/bnetd/account.h`/
62 #undef JUST_NEED_TYPEScxx . . $ `src/bnetd/icons.h:60:9`!
63
64 namespace pvpgncxx . . $ pvpgn/
65 {
66
67 namespace bnetdcxx . . $ pvpgn/bnetd/
68 {
69 extern int handle_icon_commandcxx . . $ pvpgn/bnetd/handle_icon_command(2e9022cda97b266d).(t_connectioncxx . . $ pvpgn/bnetd/t_connection# * c, char const *text);
70 extern char const * customicons_stash_findcxx . . $ pvpgn/bnetd/customicons_stash_find(308ee6425accf20f).(t_clienttagcxx . . $ pvpgn/t_clienttag# clienttag, char const * code, bool return_alias = false);
71 extern stdcxx . . $ std/::stringcxx . . $ std/string# customicons_stash_get_listcxx . . $ pvpgn/bnetd/customicons_stash_get_list(84506afe9362c9ca).(t_clienttagcxx . . $ pvpgn/t_clienttag# clienttag, bool return_alias = false);
72
73 extern int prefs_get_custom_iconscxx . . $ pvpgn/bnetd/prefs_get_custom_icons(b126dc7c1de90089).();
74 extern bool customicons_allowed_by_clientcxx . . $ pvpgn/bnetd/customicons_allowed_by_client(dfa6e707f7696010).(t_clienttagcxx . . $ pvpgn/t_clienttag# clienttag);
75 extern t_icon_infocxx . . $ pvpgn/bnetd/t_icon_info# * customicons_get_icon_by_accountcxx . . $ pvpgn/bnetd/customicons_get_icon_by_account(6aa4f522a41892c1).(t_accountcxx . . $ pvpgn/bnetd/t_account# * account, t_clienttagcxx . . $ pvpgn/t_clienttag# clienttag);
76 extern const char * customicons_get_stats_textcxx . . $ pvpgn/bnetd/customicons_get_stats_text(771ec84f6146e718).(t_accountcxx . . $ pvpgn/bnetd/t_account# * account, t_clienttagcxx . . $ pvpgn/t_clienttag# clienttag);
77 extern t_icon_infocxx . . $ pvpgn/bnetd/t_icon_info# * customicons_get_icon_by_ratingcxx . . $ pvpgn/bnetd/customicons_get_icon_by_rating(2c42b6e02b3f2820).(int rating, char * clienttag);
78
79
80 extern int customicons_loadcxx . . $ pvpgn/bnetd/customicons_load(5c4306d8553b3696).(char const * filename);
81 extern int customicons_unloadcxx . . $ pvpgn/bnetd/customicons_unload(b126dc7c1de90089).(void);
82
83 }
84
85 }
86
87 /*****/
88 #endif
89 #endif