LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XSessionManagerClient Interface Reference

Connect to a session manager to get information about pending desktop shutdown. More...

import"XSessionManagerClient.idl";

Inheritance diagram for XSessionManagerClient:
XInterface SessionManager

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...
 

Detailed Description

Connect to a session manager to get information about pending desktop shutdown.

Member Function Documentation

◆ addSessionManagerListener()

void addSessionManagerListener ( [in] XSessionManagerListener  xListener)

addSessionManagerListener registers a listener for session management events

Parameters
xListenerlistener for session management events
See also
XSessionManagerListener
XSessionManagerClient::removeSessionManagerListener()

◆ cancelShutdown()

boolean cancelShutdown ( )

Call cancelShutdown to try to cancel a desktop shutdown in progress.

Returns
TRUE if shutdown was canceled, FALSE else.

◆ interactionDone()

void interactionDone ( [in] XSessionManagerListener  xListener)

interactionDone is called when a listener has finished user interaction

Parameters
xListenerthe listener done with user interaction
See also
XSessionManagerListener

◆ queryInteraction()

void queryInteraction ( [in] XSessionManagerListener  xListener)

queryInteraction issues a request for a user interaction slot from the session manager

Parameters
xListenerthe listener requesting user interaction
See also
XSessionManagerListener

◆ removeSessionManagerListener()

void removeSessionManagerListener ( [in] XSessionManagerListener  xListener)

removeSessionManagerListener deregisters a listener for session events

Parameters
xListenerlistener to be removed
See also
XSessionManagerListener
XSessionManagerClient::addSessionManagerListener()

◆ saveDone()

void saveDone ( [in] XSessionManagerListener  xListener)

saveDone signals that a listener has processed a save request

Parameters
xListenerthe listener having finished save request processing
See also
XSessionManagerListener

The documentation for this interface was generated from the following file: