Prepare 1.0 alpha3 release.
[tagua/yd.git] / src / icsgamedata.h
blobd3e39336ec23c397b46a84002c9090ff5a524df2
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
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;
21 struct ICSGameData {
22 int index;
23 VariantPtr variant;
24 ICSAPIPtr icsapi;
25 boost::weak_ptr<ICSListener> listener;
27 ICSGameData();
28 ICSGameData(int index, const QString& type);
30 void setType(const QString& var);
33 #endif // ICSGAMEDATA_H