Moved global.* to mastersettings.*, and converted many error messages to use the...
[tagua/yd.git] / src / poolinfo.h
blob4d58579ec08a6627fc91a258de64325f4db267c4
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 "kboard.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 AbstractPool::Ptr m_pool[2];
26 AbstractPiece::Ptr m_added_piece;
27 static QRegExp s_pattern;
29 PoolInfo(const std::map<int, ICSGameData>& games, const QString& s);
32 #endif //POOLINFO_H