aboutsummaryrefslogtreecommitdiff
path: root/src/pgnp.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-01-24 21:03:30 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-01-24 21:03:30 +0100
commite817ac6bed46737839b592b4308c6d525d70aa2d (patch)
tree276749dbe6017a6052dd6985e15ee7610a49ec0e /src/pgnp.hpp
parentbdd879586efd906e10f07663e99b20027f7bb8ad (diff)
Improve PGNP API
Diffstat (limited to 'src/pgnp.hpp')
-rw-r--r--src/pgnp.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pgnp.hpp b/src/pgnp.hpp
index 53a7a59..492dfc0 100644
--- a/src/pgnp.hpp
+++ b/src/pgnp.hpp
@@ -29,6 +29,7 @@ public:
int GetLength();
/// @brief Dump move and all its variations
void Dump();
+ void Copy(HalfMove* copy);
};
class PGN {
@@ -52,7 +53,7 @@ public:
std::vector<std::string> GetTagList();
std::string GetTagValue(std::string);
std::string GetResult();
- HalfMove *GetMoves();
+ void GetMoves(HalfMove*);
private:
/// @brief Populate @a tags with by parsing the one starting at location in