1
0
Fork 0
forked from wry/wry

portal: add a desktop portal

This commit is contained in:
Julian Orth 2022-07-30 19:21:30 +02:00
parent 323a6ed953
commit a162055f1d
38 changed files with 2389 additions and 27 deletions

View file

@ -0,0 +1 @@
fn Close() { }

View 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

View file

@ -0,0 +1,9 @@
fn Close() {
}
sig Closed {
}
prop version = u32