From bec4b4163ae65fa271845da6b748456346987c26 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 17 Aug 2007 11:54:21 -0400 Subject: oops add docs for new seat interfaces --- doc/spec/ck-seat.xml | 41 +++++++++++++++++++++++++++++++++++++++++ doc/xml/ref-ck-seat.xml | 33 +++++++++++++++++++++++---------- 2 files changed, 64 insertions(+), 10 deletions(-) diff --git a/doc/spec/ck-seat.xml b/doc/spec/ck-seat.xml index 1d154e7..0e13a0f 100644 --- a/doc/spec/ck-seat.xml +++ b/doc/spec/ck-seat.xml @@ -38,6 +38,23 @@ seat at a time. + + + + an array of devices + + + + + This gets a list of all the devices + that are currently associated with this seat. + Each device is an D-Bus structure that represents + the device type and the device id. + + + + + @@ -118,5 +135,29 @@ seat at a time. + + + + Device structure + + + + + Emitted when a device has been associated with the seat. + + + + + + + Device structure + + + + + Emitted when a device has been dissociated from the seat. + + + diff --git a/doc/xml/ref-ck-seat.xml b/doc/xml/ref-ck-seat.xml index 03f4176..16d86b2 100644 --- a/doc/xml/ref-ck-seat.xml +++ b/doc/xml/ref-ck-seat.xml @@ -8,18 +8,21 @@ Methods - GetId (out 'o' sid) -GetSessions (out 'ao' sessions) -GetActiveSession (out 'o' ssid) -CanActivateSessions (out 'b' can_activate) -ActivateSession (in 'o' ssid) + GetId (out 'o' sid) +GetSessions (out 'ao' sessions) +GetDevices (out 'a(ss)' devices) +GetActiveSession (out 'o' ssid) +CanActivateSessions (out 'b' can_activate) +ActivateSession (in 'o' ssid) Signals - ActiveSessionChanged ('o' ssid) -SessionAdded ('o' ssid) -SessionRemoved ('o' ssid) + ActiveSessionChanged ('o' ssid) +SessionAdded ('o' ssid) +SessionRemoved ('o' ssid) +DeviceAdded ('(ss)' device) +DeviceRemoved ('(ss)' device) @@ -49,7 +52,13 @@ seat at a time. that are currently attached to this seat. Each Session ID is an D-Bus object path for the object that implements the Session interface. - sessions:an array of Session IDs<anchor role="function" id="Seat.GetActiveSession"/>GetActiveSession ()GetActiveSessionSeatGetActiveSession (out 'o' ssid) + sessions:an array of Session IDs<anchor role="function" id="Seat.GetDevices"/>GetDevices ()GetDevicesSeatGetDevices (out 'a(ss)' devices) + This gets a list of all the devices + that are currently associated with this seat. + Each device is an D-Bus structure that represents + the device type and the device id. + + devices:an array of devices<anchor role="function" id="Seat.GetActiveSession"/>GetActiveSession ()GetActiveSessionSeatGetActiveSession (out 'o' ssid) Gets the Session ID that is currently active on this Seat. Returns NULL if there is no active session. ssid:Session ID<anchor role="function" id="Seat.CanActivateSessions"/>CanActivateSessions ()CanActivateSessionsSeatCanActivateSessions (out 'b' can_activate)Used to determine whether the seat supports session activation. @@ -67,7 +76,11 @@ See also: Emitted when a session has been added to the seat. ssid:Session ID<anchor role="function" id="Seat::SessionRemoved"/>The SessionRemoved signalSessionRemovedSeatSessionRemoved ('o' ssid) Emitted when a session has been removed from the seat. - ssid:Session ID + ssid:Session ID<anchor role="function" id="Seat::DeviceAdded"/>The DeviceAdded signalDeviceAddedSeatDeviceAdded ('(ss)' device) + Emitted when a device has been associated with the seat. + device:Device structure<anchor role="function" id="Seat::DeviceRemoved"/>The DeviceRemoved signalDeviceRemovedSeatDeviceRemoved ('(ss)' device) + Emitted when a device has been dissociated from the seat. + device:Device structure Property Details -- cgit