/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2019 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#pragma once
+#include "core-export.h"
+
#include <memory>
#include <QCoreApplication>
+#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> _core;