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__WLDLG_H 14 #define FC__WLDLG_H 15 16 #include <X11/Intrinsic.h> 17 18 /* common */ 19 #include "fc_types.h" 20 21 /* client */ 22 #include "global_worklist.h" 23 24 typedef void (*WorklistOkCallback) (struct worklist *pwl, void *data); 25 typedef void (*WorklistCancelCallback) (void *data); 26 27 void popup_worklists_dialog(struct player *pplay); 28 /* The global worklist view */ 29 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 */ 35 36 void update_worklist_report_dialog(void); 37 38 #endif /* FC__WLDLG_H */ 39