Misc cleanups.
[tagua/yd.git] / src / core / namer.h
blob54ebde76925cc4cf27e7dc0b0d6d43ae4ee04489
1 /*
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.
8 */
10 #ifndef CORE__NAMER_H
11 #define CORE__NAMER_H
13 #include <QString>
14 #include "export.h"
16 class Piece;
18 /**
19 * @brief A simple component used to retrieve symbolic piece names.
21 class TAGUA_EXPORT INamer {
22 public:
23 virtual ~INamer();
25 virtual QString name(const Piece& piece) const = 0;
28 #endif // CORE__NAMER_H