| 1 | /*************************************************************************** |
| 2 | * Copyright (C) 2009 by The qGo Project * |
| 3 | * * |
| 4 | * This file is part of qGo. * |
| 5 | * * |
| 6 | * qGo is free software: you can redistribute it and/or modify * |
| 7 | * it under the terms of the GNU General Public License as published by * |
| 8 | * the Free Software Foundation; either version 2 of the License, or * |
| 9 | * (at your option) any later version. * |
| 10 | * * |
| 11 | * This program is distributed in the hope that it will be useful, * |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 14 | * GNU General Public License for more details. * |
| 15 | * * |
| 16 | * You should have received a copy of the GNU General Public License * |
| 17 | * along with this program; if not, see <http://www.gnu.org/licenses/> * |
| 18 | * or write to the Free Software Foundation, Inc., * |
| 19 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
| 20 | ***************************************************************************/ |
| 21 | |
| 22 | |
| 23 | #ifndef CLOCK_H |
| 24 | #define CLOCK_Hcxx . . $ `src/board/clockdisplay.h:24:9`! |
| 25 | |
| 26 | #include "defines.h"cxx . . $ `<file>/src/defines.h`/ |
| 27 | #include <QObject> |
| 28 | |
| 29 | class BoardWindowcxx . . $ BoardWindow#; |
| 30 | class Soundcxx . . $ Sound#; |
| 31 | |
| 32 | class ClockDisplaycxx . . $ ClockDisplay# : public QObjectcxx . . $ QObject# |
| 33 | { |
| 34 | Q_OBJECTcxx . . $ ClockDisplay#staticMetaObject. |
| 35 | |
| 36 | public: |
| 37 | ClockDisplaycxx . . $ ClockDisplay#ClockDisplay(be30efc1a567c79b).(BoardWindowcxx . . $ BoardWindow# *bw, TimeSystemcxx . . $ TimeSystem# s, int _maintime, int _period, int _periodtime); |
| 38 | ~cxx . . $ ClockDisplay#`~ClockDisplay`(ced63f7c635d850d).ClockDisplaycxx . . $ ClockDisplay#() {} |
| 39 | void setTimecxx . . $ ClockDisplay#setTime(b994e01f1c45a386).( bool black, int secs); |
| 40 | void setTimeStepcxx . . $ ClockDisplay#setTimeStep(b45ddcbc8423892c).(bool black); |
| 41 | void rerackTimecxx . . $ ClockDisplay#rerackTime(b45ddcbc8423892c).(bool black); |
| 42 | void makeMovecxx . . $ ClockDisplay#makeMove(b45ddcbc8423892c).(bool black); |
| 43 | class TimeRecordcxx . . $ TimeRecord# getTimeRecordcxx . . $ ClockDisplay#getTimeRecord(1da1f30878cd15cd).(bool black); |
| 44 | void setTimeSettingscxx . . $ ClockDisplay#setTimeSettings(e8ef19c52b7bfbf3).(TimeSystemcxx . . $ TimeSystem# s, int m, int p, int o); |
| 45 | void setTimeInfocxx . . $ ClockDisplay#setTimeInfo(748afa4755bc9595).(int btime, int bstones_periods, int wtime, int wstones_periods); |
| 46 | void updateTimerscxx . . $ ClockDisplay#updateTimers(49f6e7a06ebc5aa8).(); |
| 47 | bool warningcxx . . $ ClockDisplay#warning(efaadfb7dc14930a).(bool black); |
| 48 | private : |
| 49 | BoardWindowcxx . . $ BoardWindow# *boardwindowcxx . . $ ClockDisplay#boardwindow.; |
| 50 | TimeSystemcxx . . $ TimeSystem# timeSystemcxx . . $ ClockDisplay#timeSystem.; |
| 51 | int w_timecxx . . $ ClockDisplay#w_time., b_timecxx . . $ ClockDisplay#b_time.; |
| 52 | int w_stones_periodscxx . . $ ClockDisplay#w_stones_periods., b_stones_periodscxx . . $ ClockDisplay#b_stones_periods.; |
| 53 | int maintimecxx . . $ ClockDisplay#maintime., periodscxx . . $ ClockDisplay#periods., periodtimecxx . . $ ClockDisplay#periodtime.; |
| 54 | Soundcxx . . $ Sound# *warningSoundcxx . . $ ClockDisplay#warningSound.; |
| 55 | int warningSecscxx . . $ ClockDisplay#warningSecs.; |
| 56 | bool playWarningSoundcxx . . $ ClockDisplay#playWarningSound.; |
| 57 | bool outOfMainTimecxx . . $ ClockDisplay#outOfMainTime.; |
| 58 | bool last_blackcxx . . $ ClockDisplay#last_black.; |
| 59 | }; |
| 60 | |
| 61 | #endif |