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)
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 #ifndef FC__MPGUI_QT_H
15 #define FC__MPGUI_QT_H
18 #include <fc_config.h>
32 class mpgui
: public QObject
37 void setup(QWidget
*central
, struct fcmp_params
*fcmp
);
38 void display_msg(const char *msg
);
39 void progress(int downloaded
, int max
);
40 void setup_list(const char *name
, const char *URL
,
41 const char *version
, const char *license
,
42 enum modpack_type type
, const char *subtype
,
44 void refresh_list_versions();
48 void row_selected(int, int);
49 void row_download(int, int);
55 QTableWidget
*mplist_table
;
58 #endif // FC__MPGUI_QT_H