2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
10 #ifndef CRAZYHOUSE__MOVESERIALIZER_H
11 #define CRAZYHOUSE__MOVESERIALIZER_H
13 #include <core/component.h>
14 #include <core/delegators/moveserializer.h>
16 namespace Crazyhouse
{
18 class MoveSerializer
: public Component
, public Delegators::MoveSerializer
{
20 MoveSerializer(IMoveSerializer
* serializer
);
22 virtual QString
serialize(const Move
& move
, const IState
* ref
) const;
23 // virtual Move deserialize(const QString& str, const IState* ref) const;
26 } // namespace Crazyhouse
28 #endif // CRAZYHOUSE__MOVESERIALIZER_H