mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-19 00:15:21 +01:00
Move source files to /src
This commit is contained in:
parent
4daff1ba79
commit
033ff07abf
2685 changed files with 9 additions and 7 deletions
27
src/driveformatthread.h
Normal file
27
src/driveformatthread.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
#ifndef DRIVEFORMATTHREAD_H
|
||||
#define DRIVEFORMATTHREAD_H
|
||||
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright (C) 2020 Raspberry Pi Ltd
|
||||
*/
|
||||
|
||||
#include <QThread>
|
||||
|
||||
class DriveFormatThread : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
DriveFormatThread(const QByteArray &device, QObject *parent = nullptr);
|
||||
virtual ~DriveFormatThread();
|
||||
virtual void run();
|
||||
|
||||
signals:
|
||||
void success();
|
||||
void error(QString msg);
|
||||
|
||||
protected:
|
||||
QByteArray _device;
|
||||
};
|
||||
|
||||
#endif // DRIVEFORMATTHREAD_H
|
Loading…
Add table
Add a link
Reference in a new issue