aboutsummaryrefslogtreecommitdiff
path: root/include/dbus.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-17 16:35:53 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-17 16:35:53 +0200
commite286a1dd24bb902a15268daa2ace5c97c552650e (patch)
tree1a126ed3cf1a1462390cb5240bc2d6d46afdd93a /include/dbus.h
parentaa0fe46a4b3c7b16d39e525fd3bf0a50ee5b707d (diff)
Add --list-supported-capture-options option, for use by gpu screen recorder gtk
Diffstat (limited to 'include/dbus.h')
-rw-r--r--include/dbus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dbus.h b/include/dbus.h
index 95c3732..d2651f2 100644
--- a/include/dbus.h
+++ b/include/dbus.h
@@ -34,6 +34,7 @@ typedef enum {
bool gsr_dbus_init(gsr_dbus *self, const char *screencast_restore_token);
void gsr_dbus_deinit(gsr_dbus *self);
+/* The follow functions should be called in order to setup ScreenCast properly */
bool gsr_dbus_screencast_create_session(gsr_dbus *self, char **session_handle);
bool gsr_dbus_screencast_select_sources(gsr_dbus *self, const char *session_handle, gsr_portal_capture_type capture_type, gsr_portal_cursor_mode cursor_mode);
bool gsr_dbus_screencast_start(gsr_dbus *self, const char *session_handle, uint32_t *pipewire_node);