qmlfrontend/engine_instance.h
author unC0Rr
Thu, 22 Nov 2018 13:52:00 +0100
changeset 14279 0ae9885e1535
parent 14276 1aac8a62be6f
child 14295 92e5682810d4
permissions -rw-r--r--
Support new message format in frontend

#ifndef ENGINEINSTANCE_H
#define ENGINEINSTANCE_H

#include "engine_interface.h"

#include <QObject>

#include "game_config.h"

class EngineInstance : public QObject {
  Q_OBJECT
 public:
  explicit EngineInstance(QObject *parent = nullptr);
  ~EngineInstance();

  void sendConfig(const GameConfig &config);
  Engine::PreviewInfo generatePreview();

 signals:

 public slots:

 private:
  Engine::EngineInstance *m_instance;
};

#endif  // ENGINEINSTANCE_H