ALPHA VERSION
[chessclock] / classes / timecontrol / delayafterclock.h
diff --git a/classes/timecontrol/delayafterclock.h b/classes/timecontrol/delayafterclock.h
new file mode 100644 (file)
index 0000000..add7b1e
--- /dev/null
@@ -0,0 +1,50 @@
+ /**************************************************************************
+
+    Chess Clock
+
+    Copyright (c) Arto Hyvättinen 2010
+
+    This file is part of Chess Clock software.
+
+    Chess Clock is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    Chess Clock is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+
+**************************************************************************/
+
+#ifndef DELAYAFTERCLOCK_H
+#define DELAYAFTERCLOCK_H
+
+#include "../chessclockwidget.h"
+
+
+/*! Delay after (Bronstein delay)
+
+  @author Arto Hyvättinen
+  @date 2010-08-16
+
+  */
+class DelayAfterClock : public ChessClockWidget
+{
+    Q_OBJECT
+public:
+    DelayAfterClock(bool white, int delay, QWidget *parent = 0);
+
+    TurnInformation* endTurn();
+signals:
+
+public slots:
+
+protected:
+    int delay_;
+
+};
+
+#endif // DELAYAFTERCLOCK_H