Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.13

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: frame ::

unpublished interface XSessionManagerClient
Usage Restrictions
not published
Description
Connect to a session manager to get information about pending desktop shutdown

Methods' Summary
addSessionManagerListener addSessionManagerListener registers a listener for session management events  
removeSessionManagerListener removeSessionManagerListener deregisters a listener for session events  
queryInteraction queryInteraction issues a request for a user interaction slot from the session manager  
interactionDone interactionDone is called when a listener has finished user interaction  
saveDone saveDone signals that a listener has processed a save request  
cancelShutdown Call cancelShutdown to try to cancel a desktop shutdown in progress  
Methods' Details
addSessionManagerListener
[oneway] void
addSessionManagerListener( [in] XSessionManagerListener  xListener );

Description
addSessionManagerListener registers a listener for session management events
Parameter xListener
listener for session management events
See also
XSessionManagerListener, XSessionManagerClient::removeSessionManagerListener()
removeSessionManagerListener
[oneway] void
removeSessionManagerListener( [in] XSessionManagerListener  xListener );

Description
removeSessionManagerListener deregisters a listener for session events
Parameter xListener
listener to be removed
See also
XSessionManagerListener, XSessionManagerClient::addSessionManagerListener()
queryInteraction
[oneway] void
queryInteraction( [in] XSessionManagerListener  xListener );

Description
queryInteraction issues a request for a user interaction slot from the session manager
Parameter xListener
the listener requesting user interaction
See also
XSessionManagerListener
interactionDone
[oneway] void
interactionDone( [in] XSessionManagerListener  xListener );

Description
interactionDone is called when a listener has finished user interaction
Parameter xListener
the listener done with user interaction
See also
XSessionManagerListener
saveDone
[oneway] void
saveDone( [in] XSessionManagerListener  xListener );

Description
saveDone signals that a listener has processed a save request
Parameter listener
the listener having finished save request processing
See also
XSessionManagerListener
cancelShutdown
boolean
cancelShutdown();

Description
Call cancelShutdown to try to cancel a desktop shutdown in progress
Returns
true if shutdown was canceled, false else.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.