summaryrefslogtreecommitdiff
path: root/libnotify/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnotify/internal.h')
-rw-r--r--libnotify/internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libnotify/internal.h b/libnotify/internal.h
index 35683d6..4d7ceb0 100644
--- a/libnotify/internal.h
+++ b/libnotify/internal.h
@@ -26,6 +26,10 @@
#define NOTIFY_DBUS_CORE_INTERFACE "org.freedesktop.Notifications"
#define NOTIFY_DBUS_CORE_OBJECT "/org/freedesktop/Notifications"
+#define NOTIFY_PORTAL_DBUS_NAME "org.freedesktop.portal.Desktop"
+#define NOTIFY_PORTAL_DBUS_CORE_INTERFACE "org.freedesktop.portal.Notification"
+#define NOTIFY_PORTAL_DBUS_CORE_OBJECT "/org/freedesktop/portal/desktop"
+
G_BEGIN_DECLS
GDBusProxy * _notify_get_proxy (GError **error);
@@ -40,6 +44,10 @@ const char * _notify_get_snap_name (void);
const char * _notify_get_snap_path (void);
const char * _notify_get_snap_app (void);
+const char * _notify_get_flatpak_app (void);
+
+gboolean _notify_uses_portal_notifications (void);
+
G_END_DECLS
#endif /* _LIBNOTIFY_INTERNAL_H_ */