new 4475edb243ed4627f4c5f2c470ca40b3def034d4
[tagua/yd.git] / src / variants / shogi / types / narikyo.h
blob5d676d68615f9810a3661ba8194af53771d1ccf6
1 /*
2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2007 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 SHOGI__TYPES__NARIKYO_H
12 #define SHOGI__TYPES__NARIKYO_H
14 #include <core/component.h>
15 #include <core/defaulttype.h>
17 namespace Shogi {
19 class TAGUA_EXPORT Narikyo : public Component, public DefaultType {
20 Q_OBJECT
21 Narikyo();
22 public:
23 virtual QString name() const;
24 virtual const std::vector<MoveDefinition> * const movesDefinitions() const;
25 virtual int index() const;
26 static Narikyo* self();
27 private:
28 std::vector<MoveDefinition> m_moveDefinitions;
33 #endif // SHOGI__TYPES__NARIKYO_H