19#ifndef INCLUDED_VCL_INC_UNX_SM_HXX
20#define INCLUDED_VCL_INC_UNX_SM_HXX
24#include <X11/SM/SMlib.h>
27#include <rtl/ustring.hxx>
32class ICEConnectionObserver;
46 SmPointer client_data,
52 SmPointer client_data );
54 SmPointer client_data );
56 SmPointer client_data );
58 SmPointer clientData );
static void interactionDone(bool bCancelShutdown)
static void SaveYourselfProc(SmcConn connection, SmPointer client_data, int save_type, Bool shutdown, int interact_style, Bool fast)
static bool queryInteraction()
static void InteractProc(SmcConn connection, SmPointer clientData)
DECL_STATIC_LINK(SessionManagerClient, ShutDownCancelHdl, void *, void)
DECL_STATIC_LINK(SessionManagerClient, InteractionHdl, void *, void)
static SalSession * m_pSession
static bool m_bDocSaveDone
static bool checkDocumentsSaved()
static SmcConn m_pSmcConnection
static std::unique_ptr< ICEConnectionObserver > m_xICEConnectionObserver
DECL_STATIC_LINK(SessionManagerClient, ShutDownHdl, void *, void)
DECL_STATIC_LINK(SessionManagerClient, SaveYourselfHdl, void *, void)
static void SaveCompleteProc(SmcConn connection, SmPointer client_data)
static OString getPreviousSessionID()
static const OString & getSessionID()
static OString m_aClientID
static OString m_aClientTimeID
static void DieProc(SmcConn connection, SmPointer client_data)
static OUString getExecName()
static void ShutdownCanceledProc(SmcConn connection, SmPointer client_data)
static void open(SalSession *pSession)