diff options
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; |