qmlfrontend/engine_instance.h
author nemo
Fri, 23 Nov 2018 16:03:10 -0500
changeset 14304 9548edd9ebcf
parent 14292 1aac8a62be6f
child 14311 92e5682810d4
permissions -rw-r--r--
uninitialised values

#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