qmlfrontend/runqueue.h
author sheepluva
Sat, 06 Jan 2018 03:17:12 +0100
branchqmlfrontend
changeset 12882 bf58f2403953
parent 12861 488782d9aba9
permissions -rw-r--r--
whoops, I ruined the path of the unC0Rr

#ifndef RUNQUEUE_H
#define RUNQUEUE_H

#include <QObject>

#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<GameConfig> m_runQueue;

    void nextRun();
};

#endif // RUNQUEUE_H