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

interface XSessionManagerClient
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XSessionManagerClient
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
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] ::com::sun::star::frame::XSessionManagerListener  xListener );

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

Description
removeSessionManagerListener deregisters a listener for session events
Parameter xListener
listener to be removed
See also
::com::sun::star::frame::XSessionManagerListener
See also
::com::sun::star::frame::XSessionManagerClient::addSessionManagerListener()
queryInteraction
[oneway] void
queryInteraction( [in] ::com::sun::star::frame::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
::com::sun::star::frame::XSessionManagerListener
interactionDone
[oneway] void
interactionDone( [in] ::com::sun::star::frame::XSessionManagerListener  xListener );

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

Description
saveDone signals that a listener has processed a save request
Parameter listener
the listener having finished save request processing
See also
::com::sun::star::frame::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