Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
ProjectConfig.h
Go to the documentation of this file.
1#pragma once
2#include <ipj/global.h>
5
6namespace sf
7{
8
9class RsaServer;
11
13{
14 public:
16 {
17 public:
18 virtual ~Settings() = default;
19
20 virtual bool load(const std::string& filepath) = 0;
21
22 virtual bool read(const std::string& filepath) = 0;
23
24 [[nodiscard]] virtual const std::string& getSettingsFileSuffix() const = 0;
25 };
26
28
30
32
34
36
38
40
41 private:
42 Settings* _settings{nullptr};
43 RsaServer* _serverAcquisitionUt{nullptr};
44 RsaServer* _serverAcquisitionEt{nullptr};
45 StorageServer* _serverStorage{nullptr};
46};
47
48}// namespace sf
Definition ProjectConfig.h:16
virtual bool read(const std::string &filepath)=0
virtual bool load(const std::string &filepath)=0
virtual ~Settings()=default
virtual const std::string & getSettingsFileSuffix() const =0
Definition ProjectConfig.h:13
RsaServer * getServerAcquisitionUt()
StorageServer * getServerStorage()
void addPropertyPages(PropertySheetDialog *sheet)
Settings & settings()
RsaServer * getServerAcquisitionEt()
Dialog containing multiple property pages.
Definition qt/PropertySheetDialog.h:14
RSA implementation of an information server.
Definition RsaServer.h:16
Storage server.
Definition StorageServer.h:14
#define _IPJ_CLASS
Definition ipj/global.h:35
Definition Application.h:10
class _MISC_CLASS PropertySheetDialog
Definition gen/PropertySheetDialog.h:18