-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathappcore.h
More file actions
executable file
·41 lines (30 loc) · 844 Bytes
/
appcore.h
File metadata and controls
executable file
·41 lines (30 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef APPCORE_H
#define APPCORE_H
#include <QObject>
#include "interfaces/iqcameron.h"
#include "settings/settings.h"
#include "camera/cameras.h"
#include "server/server.h"
#include "plugins/pluginsmanager.h"
class AppCore: public IQCameron
{
Q_OBJECT
public:
explicit AppCore(QObject *parent =nullptr);
~AppCore();
static void myMessageHandler(QtMsgType type, const QMessageLogContext& context, const QString &msg);
const QString VERSION ="1.1.0";
QString version() const override;
IServer *server() const override;
ISettings *settings() const override;
IPluginsManager *pluginsManager() const override;
signals:
public slots:
bool appStart();
private:
Settings *_settings =nullptr;
Server *_server =nullptr;
Cameras *_cameras =nullptr;
PluginsManager *_pluginsManager =nullptr;
};
#endif // APPCORE_H