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/service/smtp.hpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/service/smtp.hpp') 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; -- cgit v1.2.3