X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreapplication.h;h=f350ae108f711c7da8d51d433dd404019b47a64a;hb=24c7de34254b5de4cf28045a6923a527e06f7290;hp=3c1e5638000b4173da0fdee61068d067b06ffe40;hpb=fbb06e36ee772862c0d70ab43c9000225e9f8c42;p=quassel.git diff --git a/src/core/coreapplication.h b/src/core/coreapplication.h index 3c1e5638..f350ae10 100644 --- a/src/core/coreapplication.h +++ b/src/core/coreapplication.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,22 +20,28 @@ #pragma once +#include "core-export.h" + #include #include +#include "core.h" #include "quassel.h" class Core; -class CoreApplication : public QCoreApplication +class CORE_EXPORT CoreApplication : public QCoreApplication { Q_OBJECT + public: - CoreApplication(int &argc, char **argv); - ~CoreApplication() override; + CoreApplication(int& argc, char** argv); + + void init(); - bool init(); +private slots: + void onShutdownComplete(); private: std::unique_ptr _core;