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/service/smtp.hpp | |
parent | bab12f829beb53feb6f48db7a0ef33574740989c (diff) | |
download | obmc-sila-smtp-942b22b2ef5ba188ea077dd545c5f240a043cf6f.tar.xz |
add new interfacesfeature/add_new_interfaces
Diffstat (limited to 'src/service/smtp.hpp')
-rw-r--r-- | src/service/smtp.hpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/service/smtp.hpp b/src/service/smtp.hpp index 0284f42..a52c9c0 100644 --- a/src/service/smtp.hpp +++ b/src/service/smtp.hpp @@ -22,14 +22,22 @@ namespace smtp::service private: void FillStorageByDefault(); void CreateService( ConnectionPtr bus ); - void CreateInterface( ConnectionPtr connection ); + void CreateMessagerInterface( ConnectionPtr connection ); + void CreateSettingsManagerInterface( ConnectionPtr connection ); + void CreateMailManagerInterface( ConnectionPtr connection ); void AddProperties(); - void AddMethods(); + void AddMessagerMethods(); + void AddSettingsManagerMethods(); + void AddMailManagerMethods(); + bool RefreshSettings( bool is_need_auth, bool is_need_ssl, std::string const& user, std::string const& password, std::string const& host, std::string const& port ); - InterfacePtr mInterface; + InterfacePtr mMessagerInterface; + InterfacePtr mManagerSettingsInterface; + InterfacePtr mManagerMailInterface; + ObjectServerPtr mObjectServer; manage::Settings mSettingsStorage; manage::Mail mMailTo; |