--- a/qmlfrontend/hwengine.h Mon Dec 25 00:58:47 2017 +0100
+++ b/qmlfrontend/hwengine.h Tue Dec 26 01:36:58 2017 +0100
@@ -5,11 +5,10 @@
#include <QObject>
#include "flib.h"
-#include "gameconfig.h"
class QQmlEngine;
-
-class HWEnginePrivate;
+class PreviewImageProvider;
+class RunQueue;
class HWEngine : public QObject {
Q_OBJECT
@@ -27,12 +26,14 @@
void previewIsRendering();
void previewImageChanged();
void previewHogCountChanged(int count);
+ void gameFinished();
public slots:
private:
QQmlEngine* m_engine;
- QList<GameConfig> m_runQueue;
+ PreviewImageProvider* m_previewProvider;
+ RunQueue* m_runQueue;
static void guiMessagesCallback(void* context, MessageType mt, const char* msg, uint32_t len);