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 
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:
32  ~DeviceListener() override;
33 
34  Q_SIGNALS:
36 };
37 
38 
39 } // namespace governikus
Definition: DeviceListener.h:18
DeviceListener()
Definition: DeviceListener.cpp:73
~DeviceListener() override
Definition: DeviceListener.cpp:89
A simple template renderer.
Definition: ActivationContext.h:15