AusweisApp2
IntentActivationHandler.h
gehe zur Dokumentation dieser Datei
1 
5 #pragma once
6 
7 #include "ActivationHandler.h"
8 
9 namespace governikus
10 {
11 
18  : public ActivationHandler
19 {
20  Q_OBJECT
21  Q_PLUGIN_METADATA(IID "governikus.ActivationHandler" FILE "metadata.json")
22  Q_INTERFACES(governikus::ActivationHandler)
23 
24  private:
25  void onIntent(const QUrl& pUrl, const QString& pReferrer);
26 
27  public:
28  IntentActivationHandler() = default;
29 
30  bool start() override;
31  void stop() override;
32  void onApplicationActivated() override;
33 };
34 
35 } // namespace governikus
void stop() override
Definition: IntentActivationHandler.cpp:71
The ActivationHandler is beside the UI another API of the application.
Definition: ActivationHandler.h:41
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14
void onApplicationActivated() override
Definition: IntentActivationHandler.cpp:76
bool start() override
Definition: IntentActivationHandler.cpp:58
This ActivationHandler implements an API by opening custom URLs registered in the Android manifest...
Definition: IntentActivationHandler.h:17