equal
deleted
inserted
replaced
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: |