Add a move-generator API.
[tagua/yd.git] / src / icsgamedata.h
blob7be921f3af135035f6be7a3fdd32b4ad43cdba92
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 class Components;
19 class ICSListener;
21 struct ICSGameData {
22 int index;
23 Components* components;
24 boost::weak_ptr<ICSListener> listener;
26 ICSGameData();
27 ICSGameData(int index, const QString& type);
29 void setType(const QString& var);
32 #endif // ICSGAMEDATA_H