diff options
author | claiff <claiff@mail.ru> | 2022-10-06 12:26:45 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-10-06 12:26:45 +0300 |
commit | da5f91a0ce15351a82beb061c3ccc965164529bc (patch) | |
tree | 1f4cd2d1e2f8cf2442d055c519d06c6e0692febc /src/converter/file_to_struct.hpp | |
parent | 8edef99a5b52643e0b919c424357752cbbc9a8dd (diff) | |
download | obmc-sila-smtp-da5f91a0ce15351a82beb061c3ccc965164529bc.tar.xz |
create settings on startbugfix/proxy_file_reader
Diffstat (limited to 'src/converter/file_to_struct.hpp')
-rw-r--r-- | src/converter/file_to_struct.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/converter/file_to_struct.hpp b/src/converter/file_to_struct.hpp index 1eb7fce..4375ce2 100644 --- a/src/converter/file_to_struct.hpp +++ b/src/converter/file_to_struct.hpp @@ -3,7 +3,7 @@ #include <unordered_map> #include <string> -#include "management/general.hpp" +#include "general/struct.hpp" namespace smtp::converter { @@ -13,17 +13,17 @@ namespace smtp::converter FileToStruct() = default; ~FileToStruct() = default; - manage::SettingsFields Convert( manage::SettingsFileDataType const& from ) const; + general::SettingsFields Convert( general::SettingsFileDataType const& from ) const; private: - void ApplyAuth( manage::SettingsFields& result, manage::SettingsFileDataType const& from ) const; - void ApplySsl( manage::SettingsFields& result, manage::SettingsFileDataType const& from ) const; - void ApplyBool( manage::SettingsFileDataType const& from, std::string const& search_field, bool& field ) const; + void ApplyAuth( general::SettingsFields& result, general::SettingsFileDataType const& from ) const; + void ApplySsl( general::SettingsFields& result, general::SettingsFileDataType const& from ) const; + void ApplyBool( general::SettingsFileDataType const& from, std::string const& search_field, bool& field ) const; - void ApplyUsername( manage::SettingsFields& result, manage::SettingsFileDataType const& from ) const; - void ApplyPassword( manage::SettingsFields& result, manage::SettingsFileDataType const& from ) const; - void ApplyHost( manage::SettingsFields& result, manage::SettingsFileDataType const& from ) const; - void ApplyPort( manage::SettingsFields& result, manage::SettingsFileDataType const& from ) const; - void ApplyString( manage::SettingsFileDataType const& from, std::string const& search_field, std::string& field ) const; + void ApplyUsername( general::SettingsFields& result, general::SettingsFileDataType const& from ) const; + void ApplyPassword( general::SettingsFields& result, general::SettingsFileDataType const& from ) const; + void ApplyHost( general::SettingsFields& result, general::SettingsFileDataType const& from ) const; + void ApplyPort( general::SettingsFields& result, general::SettingsFileDataType const& from ) const; + void ApplyString( general::SettingsFileDataType const& from, std::string const& search_field, std::string& field ) const; }; } |