tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / frame / XSessionManagerClient.idl
blobeb4767ca822a09c2cb1c28445dd4119330ad2f10
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 module com { module sun { module star { module frame {
23 /** Connect to a session manager to get information about pending
24 desktop shutdown
27 interface XSessionManagerClient : com::sun::star::uno::XInterface
30 /** addSessionManagerListener registers a listener for session management events
32 @param xListener
33 listener for session management events
35 @see XSessionManagerListener
36 @see XSessionManagerClient::removeSessionManagerListener()
38 void addSessionManagerListener( [in] XSessionManagerListener xListener );
40 /** removeSessionManagerListener deregisters a listener for session events
42 @param xListener
43 listener to be removed
45 @see XSessionManagerListener
46 @see XSessionManagerClient::addSessionManagerListener()
48 void removeSessionManagerListener( [in] XSessionManagerListener xListener );
50 /** queryInteraction issues a request for a user interaction slot
51 from the session manager
53 @param xListener
54 the listener requesting user interaction
56 @see XSessionManagerListener
58 void queryInteraction( [in] XSessionManagerListener xListener );
60 /** interactionDone is called when a listener has finished user interaction
62 @param xListener
63 the listener done with user interaction
65 @see XSessionManagerListener
67 void interactionDone( [in] XSessionManagerListener xListener );
69 /** saveDone signals that a listener has processed a save request
71 @param xListener
72 the listener having finished save request processing
74 @see XSessionManagerListener
76 void saveDone( [in] XSessionManagerListener xListener );
78 /** Call cancelShutdown to try to cancel a desktop shutdown in progress
80 @returns
81 `TRUE` if shutdown was canceled,
82 `FALSE` else.
84 boolean cancelShutdown();
87 }; }; }; };
90 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */