qmlfrontend/engine_instance.h
author unC0Rr
Wed, 07 Nov 2018 15:59:51 +0100
changeset 14154 8354b390f1a2
child 14271 1aac8a62be6f
permissions -rw-r--r--
Some refactoring of qmlfrontend. It now shows land preview generated by hedgewars-engine

#ifndef ENGINEINSTANCE_H
#define ENGINEINSTANCE_H

#include "engine_interface.h"

#include <QObject>

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

  Engine::PreviewInfo generatePreview();

 signals:

 public slots:

 private:
  Engine::EngineInstance *m_instance;
};

#endif  // ENGINEINSTANCE_H