core: add per-config shell id

Will be useful for future functionality such as IPC and caching.
This commit is contained in:
outfoxxed 2024-08-02 02:09:55 -07:00
parent 79b2fea52e
commit d582bb7b57
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 22 additions and 9 deletions

View file

@ -12,7 +12,7 @@ class RootWrapper: public QObject {
Q_OBJECT;
public:
explicit RootWrapper(QString rootPath);
explicit RootWrapper(QString rootPath, QString shellId);
~RootWrapper() override;
Q_DISABLE_COPY_MOVE(RootWrapper);
@ -24,6 +24,7 @@ private slots:
private:
QString rootPath;
QString shellId;
EngineGeneration* generation = nullptr;
QString originalWorkingDirectory;
};