AusweisApp2
CustomSchemeActivationHandler.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include "ActivationHandler.h"
8
9namespace governikus
10{
11
18 : public ActivationHandler
19{
20 Q_OBJECT
21 Q_PLUGIN_METADATA(IID "governikus.ActivationHandler" FILE "metadata.json")
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:44
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
A simple template renderer.
Definition: ActivationContext.h:15