forked from quickshell/quickshell
core: add per-config shell id
Will be useful for future functionality such as IPC and caching.
This commit is contained in:
parent
79b2fea52e
commit
d582bb7b57
3 changed files with 22 additions and 9 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue