blob: 982f57c6a7e5290a72e323cef662167db9fc0c0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "GameBase.hpp"
#include "pgnp.hpp"
class PGNGameBase : public GameBase {
pgnp::PGN *pgn;
bool hasNextGame;
std::string file;
public:
PGNGameBase(std::string pgn_file);
Game *GetGame(std::uint32_t id);
bool NextGame();
Game *GetCurrentGame();
std::string GetTag(std::string tag);
void Save(std::vector<std::uint32_t> to_ignore,
std::vector<GameBase *> new_games_bases,
std::vector<Game *> new_games);
void Reset();
void Export(GameBase *base);
};
|