X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreapplication.h;h=9185f199ce49c54ce6cc164962e45fd8be9b0e47;hb=df38a9238d603ec8d2040619befa50980d994916;hp=3c1e5638000b4173da0fdee61068d067b06ffe40;hpb=fbb06e36ee772862c0d70ab43c9000225e9f8c42;p=quassel.git diff --git a/src/core/coreapplication.h b/src/core/coreapplication.h index 3c1e5638..9185f199 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-2020 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;