From 942b22b2ef5ba188ea077dd545c5f240a043cf6f Mon Sep 17 00:00:00 2001 From: eportnov Date: Tue, 13 Sep 2022 17:30:47 +0300 Subject: add new interfaces --- src/file/converter/file.hpp | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/file/converter/file.hpp (limited to 'src/file/converter/file.hpp') 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 -#include - -#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; - }; -} - - -- cgit v1.2.3