Moved global.* to mastersettings.*, and converted many error messages to use the...
[tagua/yd.git] / src / icsgamedata.h
blob5f5b3fe689a58143ab1982b8a60588c6bbeb2649
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #ifndef ICSGAMEDATA_H
12 #define ICSGAMEDATA_H
14 #include <boost/weak_ptr.hpp>
15 #include <QString>
17 class ICSListener;
19 struct ICSGameData {
20 int index;
21 QString variant;
22 boost::weak_ptr<ICSListener> listener;
24 ICSGameData()
25 : index(0) { }
26 ICSGameData(int index, const QString& variant)
27 : index(index), variant(variant) { }
30 #endif // ICSGAMEDATA_H