all: bring back xdg portals
This commit is contained in:
parent
d920e554cf
commit
e61f042d8b
107 changed files with 14293 additions and 55 deletions
16
wire-dbus/org.freedesktop.DBus.Properties.txt
Normal file
16
wire-dbus/org.freedesktop.DBus.Properties.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
fn Get(interface_name: string, property_name: string) {
|
||||
value: variant,
|
||||
}
|
||||
|
||||
# fn Set(interface_name: string, property_name: string, value: variant) {
|
||||
# }
|
||||
|
||||
fn GetAll(interface_name: string) {
|
||||
props: array(dict(string, variant)),
|
||||
}
|
||||
|
||||
sig PropertiesChanged {
|
||||
interface_name: string,
|
||||
changed_properties: array(dict(string, variant)),
|
||||
invalidated_properties: array(string),
|
||||
}
|
||||
|
|
@ -7,3 +7,7 @@ fn AddMatch(rule: string) { }
|
|||
fn RemoveMatch(rule: string) { }
|
||||
|
||||
fn UpdateActivationEnvironment(environment: array(dict(string, string))) { }
|
||||
|
||||
fn RequestName(name: string, flags: u32) {
|
||||
rv: u32,
|
||||
}
|
||||
|
|
|
|||
41
wire-dbus/org.freedesktop.impl.portal.RemoteDesktop.txt
Normal file
41
wire-dbus/org.freedesktop.impl.portal.RemoteDesktop.txt
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
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 SelectDevices(
|
||||
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)),
|
||||
}
|
||||
|
||||
fn ConnectToEIS(
|
||||
session_handle: object_path,
|
||||
app_id: string,
|
||||
options: array(dict(string, variant)),
|
||||
) {
|
||||
fd: fd,
|
||||
}
|
||||
|
||||
prop AvailableDeviceTypes = u32
|
||||
prop version = u32
|
||||
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