Variants are not singletons anymore.
[tagua/yd.git] / src / poolinfo.h
blob33ed4f5527cd5bc485fa48426aeb04231074fb91
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 POOLINFO_H
12 #define POOLINFO_H
14 #include <boost/shared_ptr.hpp>
15 #include <QRegExp>
16 #include "index.h"
17 #include "tagua.h"
18 #include "icsgamedata.h"
20 class PoolInfo {
21 public:
22 bool m_valid;
23 int m_game_num;
24 Index m_pos_index;
25 PoolPtr m_pool[2];
26 PiecePtr m_added_piece;
27 static QRegExp s_pattern;
29 PoolInfo(const std::map<int, ICSGameData>& games, const QString& s);
32 #endif //POOLINFO_H