LibreOffice
LibreOffice 24.2 SDK API Reference
|
Connect to a session manager to get information about pending desktop shutdown. More...
import"XSessionManagerClient.idl";
Public Member Functions | |
void | addSessionManagerListener ([in] XSessionManagerListener xListener) |
addSessionManagerListener registers a listener for session management events More... | |
void | removeSessionManagerListener ([in] XSessionManagerListener xListener) |
removeSessionManagerListener deregisters a listener for session events More... | |
void | queryInteraction ([in] XSessionManagerListener xListener) |
queryInteraction issues a request for a user interaction slot from the session manager More... | |
void | interactionDone ([in] XSessionManagerListener xListener) |
interactionDone is called when a listener has finished user interaction More... | |
void | saveDone ([in] XSessionManagerListener xListener) |
saveDone signals that a listener has processed a save request More... | |
boolean | cancelShutdown () |
Call cancelShutdown to try to cancel a desktop shutdown in progress. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Connect to a session manager to get information about pending desktop shutdown.
void addSessionManagerListener | ( | [in] XSessionManagerListener | xListener | ) |
addSessionManagerListener registers a listener for session management events
xListener | listener for session management events |
boolean cancelShutdown | ( | ) |
Call cancelShutdown to try to cancel a desktop shutdown in progress.
TRUE
if shutdown was canceled, FALSE
else. void interactionDone | ( | [in] XSessionManagerListener | xListener | ) |
interactionDone is called when a listener has finished user interaction
xListener | the listener done with user interaction |
void queryInteraction | ( | [in] XSessionManagerListener | xListener | ) |
queryInteraction issues a request for a user interaction slot from the session manager
xListener | the listener requesting user interaction |
void removeSessionManagerListener | ( | [in] XSessionManagerListener | xListener | ) |
removeSessionManagerListener deregisters a listener for session events
xListener | listener to be removed |
void saveDone | ( | [in] XSessionManagerListener | xListener | ) |
saveDone signals that a listener has processed a save request
xListener | the listener having finished save request processing |