repo.or.cz
/
tagua
/
yd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Export ShogiPiece for testing.
[tagua/yd.git]
/
src
/
piecefactory.h
blob
2092ba5caa0b6d2177263701f926cdde2e2b0707
1
#ifndef PIECEFACTORY_H
2
#define PIECEFACTORY_H
3
4
#include <QString>
5
6
template
<
typename Variant
>
7
class
PieceFactory
{
8
public
:
9
static
typename
Variant
::
Piece
createPiece
(
const
QString
&) {
return
typename
Variant
::
Piece
(); }
10
};
11
12
#endif
// PIECEFACTORY_H
13