diff -r e33bcb9d5e9c -r 488782d9aba9 qmlfrontend/runqueue.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qmlfrontend/runqueue.h Tue Dec 26 01:36:58 2017 +0100 @@ -0,0 +1,27 @@ +#ifndef RUNQUEUE_H +#define RUNQUEUE_H + +#include + +#include "gameconfig.h" + +class RunQueue : public QObject { + Q_OBJECT +public: + explicit RunQueue(QObject* parent = nullptr); + + void queue(const GameConfig& config); + +signals: + void previewIsRendering(); + +public slots: + void onGameFinished(); + +private: + QList m_runQueue; + + void nextRun(); +}; + +#endif // RUNQUEUE_H