AusweisApp2
Lade ...
Suche ...
Keine Treffer
PaosHandler.h
gehe zur Dokumentation dieser Datei
1
7#pragma once
8
10#include "paos/PaosMessage.h"
11
12#include <QSharedPointer>
13#include <QXmlStreamReader>
14
15namespace governikus
16{
17
19 : private ElementDetector
20{
21 private:
22 PaosType mDetectedType;
23 QSharedPointer<PaosMessage> mParsedObject;
24
25 Q_DISABLE_COPY(PaosHandler)
26 void detect();
27 void parse();
28 void setParsedObject(PaosMessage* pParsedObject);
29
30 bool handleFoundElement(const QString& pElementName, const QString& pValue, const QXmlStreamAttributes& pAttributes) override;
31
32 public:
33 explicit PaosHandler(const QByteArray& pXmlData);
34
35 [[nodiscard]] PaosType getDetectedPaosType() const;
36 [[nodiscard]] QSharedPointer<PaosMessage> getPaosMessage() const;
37};
38
39} // namespace governikus
Definition: ElementDetector.h:17
Definition: PaosHandler.h:20
QSharedPointer< PaosMessage > getPaosMessage() const
Definition: PaosHandler.cpp:148
PaosType getDetectedPaosType() const
Definition: PaosHandler.cpp:142
Definition: PaosMessage.h:19
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15