LibreOffice LibreOffice 25.2 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
20
21module com { module sun { module star { module frame {
22
27 interface XSessionManagerClient : com::sun::star::uno::XInterface
28 {
29
38 void addSessionManagerListener( [in] XSessionManagerListener xListener );
39
48 void removeSessionManagerListener( [in] XSessionManagerListener xListener );
49
58 void queryInteraction( [in] XSessionManagerListener xListener );
59
67 void interactionDone( [in] XSessionManagerListener xListener );
68
76 void saveDone( [in] XSessionManagerListener xListener );
77
84 boolean cancelShutdown();
85 };
86
87}; }; }; };
88
89
90/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::frame::XSessionManagerClient
Connect to a session manager to get information about pending desktop shutdown.
Definition: XSessionManagerClient.idl:28
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::queryInteraction
void queryInteraction([in] XSessionManagerListener xListener)
queryInteraction issues a request for a user interaction slot from the session manager
com::sun::star::frame::XSessionManagerClient::interactionDone
void interactionDone([in] XSessionManagerListener xListener)
interactionDone is called when a listener has finished user interaction
com::sun::star::frame::XSessionManagerClient::addSessionManagerListener
void addSessionManagerListener([in] XSessionManagerListener xListener)
addSessionManagerListener registers a listener for session management events
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::XSessionManagerListener
Definition: XSessionManagerListener.idl:23
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com
Definition: Ambiguous.idl:20