Core API Reference - Seat |
Desktop Apps Training - Policy Kit | ||||||||||||||||||||||||
Synopsis
DetailsPolKitSeattypedef struct _PolKitSeat PolKitSeat; Objects of this class are used to record information about a seat.
polkit_seat_new ()PolKitSeat* polkit_seat_new (void); Creates a new PolKitSeat object.
polkit_seat_ref ()PolKitSeat* polkit_seat_ref (PolKitSeat *seat); Increase reference count.
polkit_seat_unref ()void polkit_seat_unref (PolKitSeat *seat); Decreases the reference count of the object. If it becomes zero, the object is freed. Before freeing, reference counts on embedded objects are decresed by one.
polkit_seat_set_ck_objref ()polkit_bool_t polkit_seat_set_ck_objref (PolKitSeat *seat, Set the D-Bus object path to the ConsoleKit seat object.
polkit_seat_get_ck_objref ()polkit_bool_t polkit_seat_get_ck_objref (PolKitSeat *seat, Get the D-Bus object path to the ConsoleKit seat object.
polkit_seat_debug ()void polkit_seat_debug (PolKitSeat *seat); Print debug details
|