equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef HWFORM_H |
19 #ifndef HWFORM_H |
20 #define HWFORM_H |
20 #define HWFORM_H |
21 |
21 |
22 #include <QMainWindow> |
22 #include <QMainWindow> |
|
23 #include <QMutex> |
23 #include <QStack> |
24 #include <QStack> |
24 #include <QTime> |
25 #include <QTime> |
25 |
26 |
26 #include "netserver.h" |
27 #include "netserver.h" |
27 #include "game.h" |
28 #include "game.h" |
166 QStack<int> PagesStack; |
167 QStack<int> PagesStack; |
167 QTime eggTimer; |
168 QTime eggTimer; |
168 BGWidget * wBackground; |
169 BGWidget * wBackground; |
169 QSignalMapper * pageSwitchMapper; |
170 QSignalMapper * pageSwitchMapper; |
170 QByteArray m_lastDemo; |
171 QByteArray m_lastDemo; |
|
172 QMutex onPageShownMutex; |
171 |
173 |
172 #ifdef __APPLE__ |
174 #ifdef __APPLE__ |
173 InstallController * panel; |
175 InstallController * panel; |
174 #endif |
176 #endif |
175 |
177 |
176 void OnPageShown(quint8 id, quint8 lastid=0); |
178 void OnPageShown(quint8 id, quint8 lastid=0); // thread-safe |
177 }; |
179 }; |
178 |
180 |
179 #endif |
181 #endif |