From cb4f5ada5c91629e96f1daecaf85dc92bee5359d Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 1 Mar 2022 15:58:02 +0100 Subject: Move PGN export to the right place --- src/game_tab/Game.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game_tab/Game.hpp') diff --git a/src/game_tab/Game.hpp b/src/game_tab/Game.hpp index f0414c8..f70ebee 100644 --- a/src/game_tab/Game.hpp +++ b/src/game_tab/Game.hpp @@ -26,6 +26,7 @@ public: HalfMove *GetCurrentMove(); HalfMove *GetMoves(); std::string GetFen(); + std::string GetResult(); bool Play(std::string move); bool IsBlackToPlay(); void Previous(); @@ -35,7 +36,6 @@ public: void SetMoveAsMainline(HalfMove *m); void SetCurrent(HalfMove *m); std::vector ListTags(); - std::string GetPGN(); void SetResult(std::string result); /** * @brief Build current game -- cgit v1.2.3