qmlfrontend/engine_instance.h
author unc0rr
Wed, 07 Nov 2018 22:04:17 +0100
changeset 14187 7d3b94cdc3c4
parent 14175 8354b390f1a2
child 14292 1aac8a62be6f
permissions -rw-r--r--
- Move hedgewars-engine into lib-hedgewars-engine - Add command-line hedgewars-engine utility to use engine as standalone app

#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