Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
VdrSettings.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_MODEL_COMMS_VDRSETTINGS_HPP_
2#define IV_SRC_MODEL_COMMS_VDRSETTINGS_HPP_
5{
6
7struct Settings
8{
9 Settings();
10 Settings(const Settings &other);
11 Settings(Settings &&other) noexcept;
13
14 Settings &operator=(const Settings &other);
15 Settings &operator=(Settings &&other) noexcept;
16
17 bool load(const iv::file::xml::node &node);
18 bool save(iv::file::xml::node &node) const;
19
22
23private:
24 struct Keys
25 {
26 static constexpr std::string_view timeoutWait {"TimeoutWait"};
27 static constexpr std::string_view descriptionLanguage {"DescriptionLanguage"};
28 };
29
31 {
32 static constexpr iv::types::pollTime timeoutWait {2000};
34 static constexpr std::string string {""};
35 };
36};
37}// namespace iv::model::comms::vdr
38#endif//IV_SRC_MODEL_COMMS_VDRSETTINGS_HPP_
Definition xmlFile.hpp:15
Definition VdrSettings.cpp:5
std::chrono::milliseconds pollTime
Definition types.hpp:44
eLanguage
Definition enums.hpp:37
static constexpr eLanguage descriptionLanguage
Definition VdrSettings.hpp:33
static constexpr iv::types::pollTime timeoutWait
Definition VdrSettings.hpp:32
Definition VdrSettings.hpp:25
static constexpr std::string_view timeoutWait
Definition VdrSettings.hpp:26
static constexpr std::string_view descriptionLanguage
Definition VdrSettings.hpp:27
Definition VdrSettings.hpp:8
iv::types::pollTime timeoutWait
Definition VdrSettings.hpp:20
bool save(iv::file::xml::node &node) const
Definition VdrSettings.cpp:51
Settings()
Definition VdrSettings.cpp:6
eLanguage descriptionLanguage
Definition VdrSettings.hpp:21
bool load(const iv::file::xml::node &node)
Definition VdrSettings.cpp:42
Settings & operator=(const Settings &other)
Definition VdrSettings.cpp:20
Settings(const Settings &other)