summaryrefslogtreecommitdiff
path: root/src/service/settings.hpp
diff options
context:
space:
mode:
authoreportnov <eportnov@ibs.ru>2022-09-13 11:13:38 +0300
committereportnov <eportnov@ibs.ru>2022-09-13 11:13:38 +0300
commita58088ec7a45bb86b155a8ef9514b35b0ba8d1c9 (patch)
tree95a796ba075edb1abf4edea29a11544fa7344754 /src/service/settings.hpp
parentdf33492b80495fd36a1a488c0b0a39753f1df415 (diff)
parentdcbaf61e4968734d9b3bc41f704ea04d54746cea (diff)
downloadobmc-sila-smtp-a58088ec7a45bb86b155a8ef9514b35b0ba8d1c9.tar.xz
Merge branch 'feature/mail_user_managment'
Diffstat (limited to 'src/service/settings.hpp')
-rw-r--r--src/service/settings.hpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/service/settings.hpp b/src/service/settings.hpp
deleted file mode 100644
index b6319f6..0000000
--- a/src/service/settings.hpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#include <string>
-
-namespace smtp::service
-{
- struct SettingsFields
- {
- bool is_need_auth;
- bool is_need_ssl;
- std::string username;
- std::string password;
- std::string host;
- std::string port;
- };
-
- class Settings
- {
- public:
- Settings();
- explicit Settings( SettingsFields data );
- ~Settings() = default;
-
- bool CheckAndSetSettings( SettingsFields data );
-
- bool IsNeedAuth() const noexcept;
- bool IsNeedSsl() const noexcept;
-
- std::string GetUserName() const;
- std::string GetPassword() const;
- std::string GetHost() const;
- std::string GetPort() const;
- private:
- SettingsFields mSettingsFields;
- };
-}