aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/bin/gui/mainwindow.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2022-04-29 10:48:09 +0200
committerRenaud G <renaud@rolisteam.org>2022-04-29 10:48:09 +0200
commit07c5f6ec23fcf9237a24e71adcfacabce677f818 (patch)
tree588e8c5f82b9163181fad3581f610e6f1d88cba4 /src/bin/gui/mainwindow.h
parenta9153f1615a842cfb9e9bcda4d9071e202618569 (diff)
downloadOneRoll-07c5f6ec23fcf9237a24e71adcfacabce677f818.tar.gz
OneRoll-07c5f6ec23fcf9237a24e71adcfacabce677f818.zip
Change file organization.
Diffstat (limited to 'src/bin/gui/mainwindow.h')
-rw-r--r--src/bin/gui/mainwindow.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/bin/gui/mainwindow.h b/src/bin/gui/mainwindow.h
new file mode 100644
index 0000000..bd19b34
--- /dev/null
+++ b/src/bin/gui/mainwindow.h
@@ -0,0 +1,28 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+
+class DiceParser;
+namespace Ui
+{
+ class MainWindow;
+}
+
+class MainWindow : public QMainWindow
+{
+ Q_OBJECT
+
+public:
+ explicit MainWindow(QWidget* parent= 0);
+ ~MainWindow();
+
+protected slots:
+ void rollDiceCommand();
+
+private:
+ Ui::MainWindow* ui;
+ DiceParser* m_dieParser;
+};
+
+#endif // MAINWINDOW_H