Added real animations to the Shogi animator.
[tagua.git] / src / decoratedmove.h
blob74a820b95127782fd5b862674e33b17819be7d5a
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #ifndef DECORATEDMOVE_H
12 #define DECORATEDMOVE_H
14 #include <QString>
15 #include <QList>
17 class MovePart {
18 public:
19 enum Type {
20 Text,
21 Figurine
24 QString m_string;
25 Type m_type;
27 MovePart(const QString& s, Type t = Text)
28 : m_string(s), m_type(t) {}
31 typedef QList<MovePart> DecoratedMove;
33 #endif //DECORATEDMOVE_H