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

interface XSessionManagerListener
Base Interfaces
XSessionManagerListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)

Methods' Summary
doSave  
approveInteraction approveInteraction is called when an outstanding interaction request was processed by the session manager  
shutdownCanceled shutdownCanceled is called when a shutdown was canceled by the user The listener can cancel his saving operations. No further interaction is necessary and further calls on the session manager client service object will be ignored.  
doRestore returns true, if a session was restored  
Methods' Details
doSave
void
doSave( [in] boolean  bShutdown,
[in] boolean  bCancelable );

approveInteraction
void
approveInteraction( [in] boolean  bInteractionGranted );

Description
approveInteraction is called when an outstanding interaction request was processed by the session manager
Parameter bInteractionGranted
If false the listener must not interact with the user. If true the listener can interact with the user now. After interaction the listener must call XSessionManagerClient::interactionDone on the session manager client service object.
See also
XSessionManagerClient, XSessionManagerClient::interactionDone()
shutdownCanceled
void
shutdownCanceled();

Description
shutdownCanceled is called when a shutdown was canceled by the user The listener can cancel his saving operations. No further interaction is necessary and further calls on the session manager client service object will be ignored.
doRestore
boolean
doRestore();

Description
returns true, if a session was restored
Top of Page