AusweisApp2
PersoSimController.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include <QByteArray>
10 #include <QObject>
11 #include <QProcess>
12 #include <QScopedPointer>
13 #include <QTcpSocket>
14 
15 namespace governikus
16 {
17 
19  : public QObject
20 {
21  Q_OBJECT
22 
23  public:
25  ~PersoSimController() = default;
26 
27  bool isEnabled() const;
28  bool init();
29  bool write(const QByteArray& pData);
30  bool shutdown();
31 
32  private:
33  QScopedPointer<QProcess> mProcess;
34  const QSharedPointer<QTcpSocket> mSocket;
35 
36  bool startProcess();
37  void newData();
38 
39 
40 };
41 
42 } // namespace governikus
governikus::PersoSimController::shutdown
bool shutdown()
Definition: PersoSimController.cpp:65
PERSOSIM_EXECUTABLE
#define PERSOSIM_EXECUTABLE
Definition: PersoSimController.cpp:13
governikus::PersoSimController::init
bool init()
Definition: PersoSimController.cpp:40
governikus::PersoSimController
Definition: PersoSimController.h:20
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
governikus::PersoSimController::PersoSimController
PersoSimController()
Definition: PersoSimController.cpp:20
governikus::PersoSimController::~PersoSimController
~PersoSimController()=default
governikus::PersoSimController::isEnabled
bool isEnabled() const
Definition: PersoSimController.cpp:28
governikus::PersoSimController::write
bool write(const QByteArray &pData)
Definition: PersoSimController.cpp:52
PersoSimController.h