CCEngine/CCEngineLoader/CCEngineLoader.h

28 lines
514 B
C++

#pragma once
#include <QtWidgets/QDialog>
#include "ui_CCEngineLoader.h"
#include "UpdateWorker.h"
class CCEngineLoader : public QDialog
{
Q_OBJECT
public:
CCEngineLoader(
const boost::filesystem::path& appPath,
unsigned callerProcessPid,
QWidget *parent = Q_NULLPTR);
private slots:
void onProgressChanged(UpdateStatus, QString info);
void onStartWorker();
private:
std::unique_ptr<UpdateWorkerThread> m_updateWorker;
private:
Ui::CCEngineLoaderClass ui;
};