AusweisApp2
CustomSchemeActivationHandler.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 Q_SLOTS:
25  void onCustomUrl(const QUrl& pUrl);
26 
27  public:
29  ~CustomSchemeActivationHandler() override = default;
30 
31  bool start() override;
32  void stop() override;
33 };
34 
35 } // namespace governikus
The ActivationHandler is beside the UI another API of the application.
Definition: ActivationHandler.h:43
This ActivationHandler implements an API by opening custom URLs with scheme 'eid',...
Definition: CustomSchemeActivationHandler.h:19
void stop() override
Definition: CustomSchemeActivationHandler.cpp:31
~CustomSchemeActivationHandler() override=default
bool start() override
Definition: CustomSchemeActivationHandler.cpp:22
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15