summaryrefslogtreecommitdiff
path: root/src/converter/file_to_struct.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/converter/file_to_struct.hpp')
-rw-r--r--src/converter/file_to_struct.hpp20
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;
};
}