-
Notifications
You must be signed in to change notification settings - Fork 0
/
EngineConfigurator.hpp
46 lines (34 loc) · 983 Bytes
/
EngineConfigurator.hpp
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
42
43
44
45
46
#ifndef ENGINECONFIGURATOR_HPP
#define ENGINECONFIGURATOR_HPP
namespace N_PicturesProcessor {
class PicturesProcessor;
}
namespace N_PrinterManager {
class PrinterManager;
}
namespace N_PasswordManager {
class PasswordManager;
}
class AppConfiguration;
class QQmlApplicationEngine;
class QUrl;
class EngineConfigurator
{
public:
EngineConfigurator(QQmlApplicationEngine& a_Engine);
virtual ~EngineConfigurator();
void setupContext();
void setupSettings();
void loadQml(const QUrl& a_Path);
private:
EngineConfigurator(const EngineConfigurator&) = delete;
EngineConfigurator& operator=(const EngineConfigurator&) = delete;
void setupConnections();
private:
QQmlApplicationEngine& m_Engine;
AppConfiguration* m_AppConfig;
N_PicturesProcessor::PicturesProcessor* m_PicsProc;
N_PrinterManager::PrinterManager* m_PrinterMgr;
N_PasswordManager::PasswordManager* m_PasswordMgr;
};
#endif // ENGINECONFIGURATOR_HPP