qmlfrontend/engine_instance.h
changeset 14292 1aac8a62be6f
parent 14175 8354b390f1a2
child 14311 92e5682810d4
equal deleted inserted replaced
14291:efa901b04bad 14292:1aac8a62be6f
     3 
     3 
     4 #include "engine_interface.h"
     4 #include "engine_interface.h"
     5 
     5 
     6 #include <QObject>
     6 #include <QObject>
     7 
     7 
       
     8 #include "game_config.h"
       
     9 
     8 class EngineInstance : public QObject {
    10 class EngineInstance : public QObject {
     9   Q_OBJECT
    11   Q_OBJECT
    10  public:
    12  public:
    11   explicit EngineInstance(QObject *parent = nullptr);
    13   explicit EngineInstance(QObject *parent = nullptr);
    12   ~EngineInstance();
    14   ~EngineInstance();
    13 
    15 
       
    16   void sendConfig(const GameConfig &config);
    14   Engine::PreviewInfo generatePreview();
    17   Engine::PreviewInfo generatePreview();
    15 
    18 
    16  signals:
    19  signals:
    17 
    20 
    18  public slots:
    21  public slots: