reload: encapsulate each engine generation more

This commit is contained in:
outfoxxed 2024-03-13 22:53:05 -07:00
parent 211f454de9
commit 1687ff3614
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
7 changed files with 125 additions and 79 deletions

View file

@ -6,7 +6,7 @@
#include <qtmetamacros.h>
#include <qurl.h>
#include "shell.hpp"
#include "generation.hpp"
#include "watcher.hpp"
class RootWrapper: public QObject {
@ -25,8 +25,7 @@ private slots:
private:
QString rootPath;
QQmlEngine* engine = nullptr;
ShellRoot* root = nullptr;
EngineGeneration* generation = nullptr;
FiletreeWatcher* configWatcher = nullptr;
QString originalWorkingDirectory;
};