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;
54 bool nativeEventFilter(const QByteArray& pEventType,
void* pMessage, qintptr* pResult) override;
73 void fireUiDomination(const UiPlugin* pUi, const QString& pInformation,
bool pAccepted);
77 void doShutdown(
int pExitCode = EXIT_SUCCESS);
78 void onUiPlugin(const UiPlugin* pPlugin);
79 void onWorkflowFinished();
80 void onWorkflowRequested(const QSharedPointer<
WorkflowRequest>& pRequest);
81 void onCloseReminderFinished(
bool pDontRemindAgain);
82 void onLanguageChanged();
83 void onUiDominationRequested(const UiPlugin* pUi, const QString& pInformation);
84 void onUiDominationRelease();
85 void onRestartApplicationRequested();
89 static
void clearCacheFolders();
Definition AppController.h:30
bool nativeEventFilter(const QByteArray &pEventType, void *pMessage, qintptr *pResult) override
Definition AppController.cpp:489
bool shouldApplicationRestart() const
Definition AppController.cpp:182
void fireWorkflowStarted(const QSharedPointer< WorkflowRequest > &pRequest)
void fireApplicationActivated()
void fireUiDomination(const UiPlugin *pUi, const QString &pInformation, bool pAccepted)
void fireProxyAuthenticationRequired(const QNetworkProxy &pProxy, QAuthenticator *pAuthenticator)
void fireShowUserInformation(const QString &pInformationMessage)
void start()
Definition AppController.cpp:114
void fireWorkflowFinished(const QSharedPointer< WorkflowRequest > &pRequest)
friend int initApp(int &, char **)
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition AppController.cpp:79
void fireWorkflowUnhandled(const QSharedPointer< WorkflowRequest > &pRequest)
void fireShowUi(UiModule pModule)
void fireTranslationChanged()
friend class ::test_AppController
Definition AppController.h:33
void fireUiDominationReleased()
Definition CommandLineParser.h:18
Definition WorkflowRequest.h:26
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17