author | nemo |
Tue, 06 Nov 2018 12:44:38 -0500 | |
changeset 14168 | 89acfded7722 |
parent 14164 | 745c73e0e644 |
permissions | -rw-r--r-- |
14164 | 1 |
#ifndef RUNQUEUE_H |
2 |
#define RUNQUEUE_H |
|
3 |
||
4 |
#include <QObject> |
|
5 |
||
6 |
#include "gameconfig.h" |
|
7 |
||
8 |
class RunQueue : public QObject { |
|
9 |
Q_OBJECT |
|
10 |
public: |
|
11 |
explicit RunQueue(QObject* parent = nullptr); |
|
12 |
||
13 |
void queue(const GameConfig& config); |
|
14 |
||
15 |
signals: |
|
16 |
void previewIsRendering(); |
|
17 |
||
18 |
public slots: |
|
19 |
void onGameFinished(); |
|
20 |
||
21 |
private: |
|
22 |
QList<GameConfig> m_runQueue; |
|
23 |
||
24 |
void nextRun(); |
|
25 |
}; |
|
26 |
||
27 |
#endif // RUNQUEUE_H |