summaryrefslogtreecommitdiff
path: root/src/converter/struct_to_file.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/converter/struct_to_file.hpp')
-rw-r--r--src/converter/struct_to_file.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/converter/struct_to_file.hpp b/src/converter/struct_to_file.hpp
index 22f7260..67a9f96 100644
--- a/src/converter/struct_to_file.hpp
+++ b/src/converter/struct_to_file.hpp
@@ -1,8 +1,5 @@
#pragma once
-#include <unordered_map>
-#include <string>
-
#include "management/general.hpp"
namespace smtp::converter
@@ -13,7 +10,7 @@ namespace smtp::converter
StructToFile() = default;
~StructToFile() = default;
- std::unordered_map<std::string, std::string> Convert( manage::SettingsFields const& from ) const;
+ manage::SettingsFileDataType Convert( manage::SettingsFields const& from ) const;
private:
void ApplyAuth( manage::SettingsFields const& from, manage::SettingsFileDataType& result ) const;
void ApplySsl( manage::SettingsFields const& from, manage::SettingsFileDataType& result ) const;