aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/Game.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-03-01 15:58:02 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-03-01 15:58:02 +0100
commitcb4f5ada5c91629e96f1daecaf85dc92bee5359d (patch)
treeed25b0652a44596f72d034ad9cbb2b7331e3fac9 /src/game_tab/Game.hpp
parent9cba705e6631216bfcb8c95940bcf097a7888da2 (diff)
Move PGN export to the right place
Diffstat (limited to 'src/game_tab/Game.hpp')
-rw-r--r--src/game_tab/Game.hpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> ListTags();
- std::string GetPGN();
void SetResult(std::string result);
/**
* @brief Build current game