Removed silencing of gtk warning logs from gtk3.22-client.
[freeciv.git] / client / gui-xaw / wldlg.h
blobe7301d40db927a4f85554fa12b63ed0dd268e285
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 ***********************************************************************/
13 #ifndef FC__WLDLG_H
14 #define FC__WLDLG_H
16 #include <X11/Intrinsic.h>
18 /* common */
19 #include "fc_types.h"
21 /* client */
22 #include "global_worklist.h"
24 typedef void (*WorklistOkCallback) (struct worklist *pwl, void *data);
25 typedef void (*WorklistCancelCallback) (void *data);
27 void popup_worklists_dialog(struct player *pplay);
28 /* The global worklist view */
30 Widget popup_worklist(struct city *pcity, struct global_worklist *pgwl,
31 Widget parent, void *parent_data,
32 WorklistOkCallback ok_cb,
33 WorklistCancelCallback cancel_cb);
34 /* An individual worklist */
36 void update_worklist_report_dialog(void);
38 #endif /* FC__WLDLG_H */