AusweisApp2
DeviceListener.h
gehe zur Dokumentation dieser Datei
1
5
#pragma once
6
7
#if __has_include(<libudev.h>)
8
#include <libudev.h>
9
#endif
10
11
#include <QThread>
12
13
namespace
governikus
14
{
15
16
class
DeviceListener
17
:
public
QThread
18
{
19
Q_OBJECT
20
21
private
:
22
#if __has_include(<libudev.h>)
23
struct
udev* mUserDevices;
24
struct
udev_monitor* mDeviceMonitor;
25
int
mFileDescriptor;
26
#endif
27
28
void
run()
override
;
29
30
public
:
31
DeviceListener
();
32
~DeviceListener
()
override
;
33
34
Q_SIGNALS:
35
void
fireDeviceChangeDetected
();
36
};
37
38
39
}
// namespace governikus
governikus::DeviceListener::DeviceListener
DeviceListener()
Definition:
DeviceListener.cpp:73
governikus::DeviceListener::~DeviceListener
~DeviceListener() override
Definition:
DeviceListener.cpp:89
governikus::DeviceListener
Definition:
DeviceListener.h:18
governikus::DeviceListener::fireDeviceChangeDetected
void fireDeviceChangeDetected()
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition:
ActivationContext.h:15
DeviceListener.h
src
card
drivers
DeviceListener.h
Erzeugt von
1.8.20