Refactored TurnTest.
[tagua/yd.git] / src / icsgamedata.h
blob5b791a3e59132ccdecb38ce99f7fe1ad31ad0c54
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 #include "fwd.h"
19 class ICSListener;
20 class VariantInfo;
22 struct ICSGameData {
23 int index;
24 VariantInfo* variant;
25 ICSAPIPtr icsapi;
26 boost::weak_ptr<ICSListener> listener;
28 ICSGameData();
29 ICSGameData(int index, const QString& type);
31 void setType(const QString& var);
34 #endif // ICSGAMEDATA_H