qmlfrontend/engine_instance.h
author unC0Rr
Thu, 22 Nov 2018 10:58:55 +0100
changeset 14276 1aac8a62be6f
parent 14159 8354b390f1a2
child 14295 92e5682810d4
permissions -rw-r--r--
Implement send_ipc and read_ipc in engine lib, send_ipc 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