15#include <QAbstractNativeEventFilter>
16#include <QAuthenticator>
17#include <QNetworkProxy>
18#include <QSharedPointer>
20class test_AppController;
24class WorkflowController;
25class CommandLineParser;
29 ,
public QAbstractNativeEventFilter
41 bool mShutdownRunning;
42 const UIPlugIn* mUiDomination;
43 bool mRestartApplication;
46 [[nodiscard]]
bool canStartNewWorkflow() const;
47 void completeShutdown();
48 void waitForNetworkConnections(const std::function<
void()>& pExitFunc);
53 bool eventFilter(QObject* pObj, QEvent* pEvent) override;
55#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
56 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage, qintptr* pResult)
override;
58 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage,
long* pResult)
override;
77 void fireUiDomination(
const UIPlugIn* pUi,
const QString& pInformation,
bool pAccepted);
81 void doShutdown(
int pExitCode = EXIT_SUCCESS);
82 void onUiPlugin(
const UIPlugIn* pPlugin);
83 void onWorkflowFinished();
84 void onWorkflowRequested(
const QSharedPointer<WorkflowRequest>& pRequest);
85 void onCloseReminderFinished(
bool pDontRemindAgain);
86 void onLanguageChanged();
87 void onUiDominationRequested(
const UIPlugIn* pUi,
const QString& pInformation);
88 void onUiDominationRelease();
89 void onRestartApplicationRequested();
92 bool startNewWorkflow(
const QSharedPointer<WorkflowRequest>& pRequest);
93 static void clearCacheFolders();
Definition: AppController.h:30
bool nativeEventFilter(const QByteArray &pEventType, void *pMessage, qintptr *pResult) override
Definition: AppController.cpp:499
bool shouldApplicationRestart() const
Definition: AppController.cpp:178
void fireWorkflowStarted(QSharedPointer< WorkflowContext > pContext)
void fireApplicationActivated()
void fireWorkflowFinished(QSharedPointer< WorkflowContext > pContext)
void fireProxyAuthenticationRequired(const QNetworkProxy &pProxy, QAuthenticator *pAuthenticator)
void fireShowUserInformation(const QString &pInformationMessage)
void start()
Definition: AppController.cpp:110
friend int initApp(int &, char **)
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition: AppController.cpp:81
void fireShowUi(UiModule pModule)
void fireUiDomination(const UIPlugIn *pUi, const QString &pInformation, bool pAccepted)
void fireTranslationChanged()
friend class ::test_AppController
Definition: AppController.h:33
void fireUiDominationReleased()
Definition: CommandLineParser.h:18
Definition: WorkflowRequest.h:25
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16