AusweisApp2
StateRedirectBrowser.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include "AbstractState.h"
10 #include "context/AuthContext.h"
11 #include "ECardApiResult.h"
13 
14 #include <http_parser.h>
15 
16 namespace governikus
17 {
18 
20  : public AbstractState
21  , public GenericContextContainer<AuthContext>
22 {
23  Q_OBJECT
24  friend class StateBuilder;
25 
26  explicit StateRedirectBrowser(const QSharedPointer<WorkflowContext>& pContext);
27 
28  void reportCommunicationError();
29  void sendErrorPage(http_status pStatus);
30  bool sendRedirect(const QUrl& pRedirectAddress, const ECardApiResult& pResult);
31  void run() override;
32 
33 };
34 
35 } // namespace governikus
Definition: ECardApiResult.h:24
Definition: AbstractState.h:18
Definition: StateRedirectBrowser.h:19
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14
Definition: GenericContextContainer.h:19
http_status
Definition: http_parser.h:154
Definition: StateBuilder.h:17