#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 to_ignore, std::vector new_games_bases, std::vector new_games); void Reset(); void Export(GameBase *base); };