From f1871704e8e0900b789bb618ba6de9927cc70cf4 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Sat, 23 Feb 2008 23:12:27 +0100 Subject: [PATCH] push d1f1b1835b10fce043137819084011f6020b3b87 --- src/core/delegators/moveserializer.h | 3 +++ src/core/moveserializer.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/core/delegators/moveserializer.h b/src/core/delegators/moveserializer.h index a1ad3bd..8a11a3d 100644 --- a/src/core/delegators/moveserializer.h +++ b/src/core/delegators/moveserializer.h @@ -38,6 +38,9 @@ public: virtual void setDelegator(IMoveSerializer* delegator) { m_serializer->setDelegator(delegator); } + virtual QString san(const Move& move, const IState* ref) const { + return m_serializer->san(move, ref); + } }; } // namespace Delegators diff --git a/src/core/moveserializer.h b/src/core/moveserializer.h index 43ae2dd..bb9d626 100644 --- a/src/core/moveserializer.h +++ b/src/core/moveserializer.h @@ -60,6 +60,8 @@ public: */ virtual QString type() const = 0; + virtual QString san(const Move& move, const IState* ref) const = 0; + virtual void setDelegator(IMoveSerializer* delegator) = 0; }; -- 2.11.4.GIT