webperimental: killstack decides stack protects.
[freeciv.git] / client / gui-stub / diplodlg.c
blob9a93fd9511cf9f3259d05c736694a35582c7547d
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.
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 ***********************************************************************/
14 #ifdef HAVE_CONFIG_H
15 #include <fc_config.h>
16 #endif
18 /* gui main header */
19 #include "gui_stub.h"
21 #include "diplodlg.h"
23 /**************************************************************************
24 Update a player's acceptance status of a treaty (traditionally shown
25 with the thumbs-up/thumbs-down sprite).
26 **************************************************************************/
27 void handle_diplomacy_accept_treaty(int counterpart, bool I_accepted,
28 bool other_accepted)
30 /* PORTME */
33 /**************************************************************************
34 Handle the start of a diplomacy meeting - usually by poping up a
35 diplomacy dialog.
36 **************************************************************************/
37 void handle_diplomacy_init_meeting(int counterpart, int initiated_from)
39 /* PORTME */
42 /**************************************************************************
43 Update the diplomacy dialog by adding a clause.
44 **************************************************************************/
45 void handle_diplomacy_create_clause(int counterpart, int giver,
46 enum clause_type type, int value)
48 /* PORTME */
51 /**************************************************************************
52 Update the diplomacy dialog when the meeting is canceled (the dialog
53 should be closed).
54 **************************************************************************/
55 void handle_diplomacy_cancel_meeting(int counterpart, int initiated_from)
57 /* PORTME */
60 /**************************************************************************
61 Update the diplomacy dialog by removing a clause.
62 **************************************************************************/
63 void handle_diplomacy_remove_clause(int counterpart, int giver,
64 enum clause_type type, int value)
66 /* PORTME */
69 /**************************************************************************
70 Close all open diplomacy dialogs.
72 Called when the client disconnects from game.
73 **************************************************************************/
74 void close_all_diplomacy_dialogs(void)
76 /* PORTME */