aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/gamebase/PGNGameBase.hpp
blob: 1ad58a1b8d94bcd0c21301c2945f22d0f7a635bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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();
  std::string GetTag(std::string tag);
  void Reset();
};