2024-07-30 11:42:36 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: GPL-3.0+
|
2022-03-13 17:58:39 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QProgressDialog>
|
|
|
|
|
|
|
|
#include "DEV9/ATA/HddCreate.h"
|
|
|
|
|
|
|
|
class HddCreateQt : public HddCreate
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
HddCreateQt(QWidget* parent);
|
|
|
|
virtual ~HddCreateQt(){};
|
|
|
|
|
|
|
|
private:
|
|
|
|
QWidget* m_parent;
|
|
|
|
QProgressDialog* progressDialog;
|
|
|
|
|
|
|
|
int reqMiB;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void Init();
|
|
|
|
virtual void Cleanup();
|
|
|
|
virtual void SetFileProgress(u64 currentSize);
|
|
|
|
virtual void SetError();
|
|
|
|
};
|