DeviceFinder: Add typedef DeviceList
This commit is contained in:
@@ -27,8 +27,6 @@
|
||||
#include <pulse/introspect.h>
|
||||
#include <pulse/mainloop.h>
|
||||
|
||||
#include <QList>
|
||||
|
||||
#include "devicefinder.h"
|
||||
|
||||
class PulseDeviceFinder : public DeviceFinder {
|
||||
@@ -37,14 +35,14 @@ class PulseDeviceFinder : public DeviceFinder {
|
||||
~PulseDeviceFinder() override;
|
||||
|
||||
bool Initialize() override;
|
||||
QList<Device> ListDevices() override;
|
||||
DeviceList ListDevices() override;
|
||||
|
||||
private:
|
||||
struct ListDevicesState {
|
||||
ListDevicesState() : finished(false) {}
|
||||
|
||||
bool finished;
|
||||
QList<Device> devices;
|
||||
DeviceList devices;
|
||||
};
|
||||
|
||||
bool Reconnect();
|
||||
|
||||
Reference in New Issue
Block a user