LibreOffice
LibreOffice 6.2 SDK API Reference
XConfigurationController.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 #ifndef __com_sun_star_drawing_framework_XConfigurationController_idl__
21 #define __com_sun_star_drawing_framework_XConfigurationController_idl__
22 
28 
29 module com { module sun { module star { module drawing { module framework {
30 
31 interface XConfigurationChangeListener;
32 interface XConfigurationChangeRequest;
33 interface XResourceId;
34 interface XResource;
35 
142 {
146 
162  void requestResourceActivation (
163  [in] XResourceId xResourceId,
164  [in] ResourceActivationMode eMode);
165 
174  void requestResourceDeactivation (
175  [in] XResourceId xResourceId);
176 
177 
187  XResource getResource (
188  [in] XResourceId xResourceId);
189 
198  void lock ();
199 
207  void unlock ();
208 
215  void update ();
216 
221  XConfiguration getRequestedConfiguration ();
222 
227  XConfiguration getCurrentConfiguration ();
228 
248  void restoreConfiguration ([in] XConfiguration xConfiguration);
249 };
250 
251 }; }; }; }; }; // ::com::sun::star::drawing::framework
252 
253 #endif
254 
255 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Base interface that provides functionality shared by all resource types of the drawing framework...
Definition: XResource.idl:32
Definition: Ambiguous.idl:22
The XResourceFactoryManager is part of the configuration controller and manages the set of registered...
Definition: XResourceFactoryManager.idl:36
The request queue of the configuration controller handles requests for changes to the current configu...
Definition: XConfigurationControllerRequestQueue.idl:37
Manage the set of registered event listeners and the event notification for a configuration controlle...
Definition: XConfigurationControllerBroadcaster.idl:34
ResourceActivationMode
The ResourceActivationMode specifies, for example for the com::sun::star::drawing::framework::XConfig...
Definition: ResourceActivationMode.idl:30
A configuration describes the resources of an application like panes, views, and tool bars and their ...
Definition: XConfiguration.idl:43
A resource id uses a set of URLs to unambiguously specify a resource of the drawing framework...
Definition: XResourceId.idl:44
The configuration controller is responsible for the management of the set of active resources...
Definition: XConfigurationController.idl:141