gui: ipc: Support cancellation of preview generation

This commit is contained in:
2022-05-28 17:24:42 +02:00
parent d66e395fda
commit 2591a4ccba
4 changed files with 37 additions and 19 deletions

View File

@@ -15,6 +15,10 @@ class IPCPreviewWorker : public QObject
public:
IPCPreviewWorker();
void start(RenderConfig config, const QVector<RenderTarget> &targets, QLocalSocket *peer);
void stop();
signals:
void previewGenerated(QByteArray);
void finished();
};
#endif // IPCPREVIEWWORKER_H