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.
11 #ifndef POSITIONINFO_H
12 #define POSITIONINFO_H
16 #include <boost/shared_ptr.hpp>
20 #include "icsgamedata.h"
27 IsolatedPosition
= -3,
28 ObservingExamined
= -2,
33 UnknownRelation
= -255
36 class CaptureIndexes
{
43 WhiteQueenCastle
= 12,
45 BlackQueenCastle
= 14,
52 StartingIncrement
= 21,
65 std::vector
<AbstractPiece::Ptr
> row
;
66 explicit PositionRow(const ICSAPIPtr
& icsapi
, const QString
& str
);
69 static QRegExp pattern
;
72 PositionInfo(const std::map
<int, ICSGameData
>& games
, const QString
&);
80 AbstractPosition::Ptr position
;
81 Point enPassantSquare
;
91 #endif // POSITIONINFO_H