portal: add a desktop portal
This commit is contained in:
parent
323a6ed953
commit
a162055f1d
38 changed files with 2389 additions and 27 deletions
1
wire-dbus/org.freedesktop.impl.portal.Request.txt
Normal file
1
wire-dbus/org.freedesktop.impl.portal.Request.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
fn Close() { }
|
||||
34
wire-dbus/org.freedesktop.impl.portal.ScreenCast.txt
Normal file
34
wire-dbus/org.freedesktop.impl.portal.ScreenCast.txt
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
fn CreateSession(
|
||||
handle: object_path,
|
||||
session_handle: object_path,
|
||||
app_id: string,
|
||||
options: array(dict(string, variant)),
|
||||
) {
|
||||
response: u32,
|
||||
results: array(dict(string, variant)),
|
||||
}
|
||||
|
||||
fn SelectSources(
|
||||
handle: object_path,
|
||||
session_handle: object_path,
|
||||
app_id: string,
|
||||
options: array(dict(string, variant)),
|
||||
) {
|
||||
response: u32,
|
||||
results: array(dict(string, variant)),
|
||||
}
|
||||
|
||||
fn Start(
|
||||
handle: object_path,
|
||||
session_handle: object_path,
|
||||
app_id: string,
|
||||
parent_window: string,
|
||||
options: array(dict(string, variant)),
|
||||
) {
|
||||
response: u32,
|
||||
results: array(dict(string, variant)),
|
||||
}
|
||||
|
||||
prop AvailableSourceTypes = u32
|
||||
prop AvailableCursorModes = u32
|
||||
prop version = u32
|
||||
9
wire-dbus/org.freedesktop.impl.portal.Session.txt
Normal file
9
wire-dbus/org.freedesktop.impl.portal.Session.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
fn Close() {
|
||||
|
||||
}
|
||||
|
||||
sig Closed {
|
||||
|
||||
}
|
||||
|
||||
prop version = u32
|
||||
Loading…
Add table
Add a link
Reference in a new issue