diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-07-08 01:04:09 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-07-08 01:05:01 +0300 |
commit | 87769ed51d8087ddc4a02705f39fe4f21431b66f (patch) | |
tree | cf3d12a293a24868641d8c086206da87e3c57ed3 /src/portal_service.cpp | |
parent | c7b0c7b88c1bebb038bd70f4995fc35771fa83c0 (diff) | |
download | xdg-desktop-portal-tde-87769ed51d8087ddc4a02705f39fe4f21431b66f.tar.gz xdg-desktop-portal-tde-87769ed51d8087ddc4a02705f39fe4f21431b66f.zip |
Added Email interface, minor refactoring
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/portal_service.cpp')
-rw-r--r-- | src/portal_service.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/portal_service.cpp b/src/portal_service.cpp index 4e0eae3..280078d 100644 --- a/src/portal_service.cpp +++ b/src/portal_service.cpp @@ -31,6 +31,7 @@ // Portal #include "file_chooser_portal.h" +#include "email_portal.h" #include "portal_service.h" @@ -44,6 +45,7 @@ DesktopNodeService::DesktopNodeService(TQT_DBusConnection &connection) m_interfaces.insert("org.freedesktop.DBus.Introspectable", this); REGISTER_PORTAL(TDEFileChooserPortal) + REGISTER_PORTAL(TDEEmailPortal) registerObject(connection, dbusObjectPath); } @@ -51,6 +53,7 @@ DesktopNodeService::DesktopNodeService(TQT_DBusConnection &connection) DesktopNodeService::~DesktopNodeService() { DESTROY_PORTAL(TDEFileChooserPortal) + DESTROY_PORTAL(TDEEmailPortal) } TQT_DBusObjectBase* DesktopNodeService::createInterface(const TQString& iface) |