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
29
src/drivelistmodelpollthread.h
Normal file
29
src/drivelistmodelpollthread.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
#ifndef DRIVELISTMODELPOLLTHREAD_H
|
||||
#define DRIVELISTMODELPOLLTHREAD_H
|
||||
|
||||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* Copyright (C) 2020 Raspberry Pi Ltd
|
||||
*/
|
||||
|
||||
#include <QThread>
|
||||
#include "dependencies/drivelist/src/drivelist.hpp"
|
||||
|
||||
class DriveListModelPollThread : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
DriveListModelPollThread(QObject *parent = nullptr);
|
||||
~DriveListModelPollThread();
|
||||
void start();
|
||||
void stop();
|
||||
|
||||
protected:
|
||||
bool _terminate;
|
||||
virtual void run() override;
|
||||
|
||||
signals:
|
||||
void newDriveList(std::vector<Drivelist::DeviceDescriptor> list);
|
||||
};
|
||||
|
||||
#endif // DRIVELISTMODELPOLLTHREAD_H
|
Loading…
Add table
Add a link
Reference in a new issue