00001 /************************************************************************** 00002 00003 Chess Clock 00004 00005 Copyright (c) Arto Hyvättinen 2010 00006 00007 This file is part of Chess Clock software. 00008 00009 Chess Clock is free software: you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation, either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 Chess Clock is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 00020 **************************************************************************/ 00021 00022 #ifndef FISCHERTIMECONTROL_H 00023 #define FISCHERTIMECONTROL_H 00024 00025 #include "../timecontrol.h" 00026 #include <QApplication> 00027 00028 class FischerTimeControl : public TimeControl 00029 { 00030 public: 00031 FischerTimeControl(); 00032 00033 QString getName() { return qApp->translate("Fischer","Addition before"); } 00034 QString getDescription(); 00035 QIcon getIcon(); 00036 ClocksWidget* initGame(bool useLastSettings); 00037 }; 00038 00039 #endif // FISCHERTIMECONTROL_H