diff options
author | eportnov <eportnov@ibs.ru> | 2022-09-13 17:30:47 +0300 |
---|---|---|
committer | eportnov <eportnov@ibs.ru> | 2022-09-14 09:33:30 +0300 |
commit | 942b22b2ef5ba188ea077dd545c5f240a043cf6f (patch) | |
tree | 0c7b4585ba47af057db150f6226ffcdeca66c7ba /src/file/converter/file.hpp | |
parent | bab12f829beb53feb6f48db7a0ef33574740989c (diff) | |
download | obmc-sila-smtp-feature/add_new_interfaces.tar.xz |
add new interfacesfeature/add_new_interfaces
Diffstat (limited to 'src/file/converter/file.hpp')
-rw-r--r-- | src/file/converter/file.hpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/file/converter/file.hpp b/src/file/converter/file.hpp deleted file mode 100644 index 63ff6dd..0000000 --- a/src/file/converter/file.hpp +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once - -#include <unordered_map> -#include <string> - -#include "managment/general.hpp" - -namespace smtp::file::converter -{ - class File - { - public: - File() = default; - ~File() = default; - - manage::SettingsFields Convert( manage::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 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; - }; -} - - |