LibreOffice
LibreOffice 6.4 SDK API Reference
XSessionManagerClient.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_frame_XSessionManagerClient_idl__
20 #define __com_sun_star_frame_XSessionManagerClient_idl__
21 
23 
24 
25 module com { module sun { module star { module frame {
26 
32  {
33 
43 
53 
62  void queryInteraction( [in] XSessionManagerListener xListener );
63 
71  void interactionDone( [in] XSessionManagerListener xListener );
72 
80  void saveDone( [in] XSessionManagerListener xListener );
81 
88  boolean cancelShutdown();
89  };
90 
91 }; }; }; };
92 
93 
94 #endif
95 
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::frame::XSessionManagerClient::queryInteraction
void queryInteraction([in] XSessionManagerListener xListener)
queryInteraction issues a request for a user interaction slot from the session manager
XSessionManagerListener.idl
com::sun::star::frame::XSessionManagerListener
Definition: XSessionManagerListener.idl:27
com::sun::star::frame::XSessionManagerClient::saveDone
void saveDone([in] XSessionManagerListener xListener)
saveDone signals that a listener has processed a save request
com::sun::star::frame::XSessionManagerClient::cancelShutdown
boolean cancelShutdown()
Call cancelShutdown to try to cancel a desktop shutdown in progress.
com::sun::star::frame::XSessionManagerClient::removeSessionManagerListener
void removeSessionManagerListener([in] XSessionManagerListener xListener)
removeSessionManagerListener deregisters a listener for session events
com::sun::star::frame::XSessionManagerClient
Connect to a session manager to get information about pending desktop shutdown.
Definition: XSessionManagerClient.idl:32
com
Definition: Ambiguous.idl:22
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::frame::XSessionManagerClient::addSessionManagerListener
void addSessionManagerListener([in] XSessionManagerListener xListener)
addSessionManagerListener registers a listener for session management events
com::sun::star::frame::XSessionManagerClient::interactionDone
void interactionDone([in] XSessionManagerListener xListener)
interactionDone is called when a listener has finished user interaction