LibreOffice
LibreOffice 7.4 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 
163  [in] XResourceId xResourceId,
164  [in] ResourceActivationMode eMode);
165 
175  [in] XResourceId xResourceId);
176 
177 
188  [in] XResourceId xResourceId);
189 
198  void lock ();
199 
207  void unlock ();
208 
215  void update ();
216 
222 
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: */
Manage the set of registered event listeners and the event notification for a configuration controlle...
Definition: XConfigurationControllerBroadcaster.idl:35
The request queue of the configuration controller handles requests for changes to the current configu...
Definition: XConfigurationControllerRequestQueue.idl:38
The configuration controller is responsible for the management of the set of active resources.
Definition: XConfigurationController.idl:142
XResource getResource([in] XResourceId xResourceId)
Return the active resource specified by the given resource id.
void requestResourceDeactivation([in] XResourceId xResourceId)
Request the deactivation of a resource.
void restoreConfiguration([in] XConfiguration xConfiguration)
Replace the requested configuration with the given configuration and schedule an update of the curren...
XConfiguration getCurrentConfiguration()
Return a copy of the current configuration.
void unlock()
Unlock the processing of configuration change requests.
XConfiguration getRequestedConfiguration()
Return a copy of the requested configuration.
void lock()
Lock the processing of configuration change requests.
void requestResourceActivation([in] XResourceId xResourceId, [in] ResourceActivationMode eMode)
Request the activation of a resource.
void update()
Explicitly request an update of the current configuration.
A configuration describes the resources of an application like panes, views, and tool bars and their ...
Definition: XConfiguration.idl:45
The XResourceFactoryManager is part of the configuration controller and manages the set of registered...
Definition: XResourceFactoryManager.idl:37
A resource id uses a set of URLs to unambiguously specify a resource of the drawing framework.
Definition: XResourceId.idl:45
Base interface that provides functionality shared by all resource types of the drawing framework.
Definition: XResource.idl:33
ResourceActivationMode
The ResourceActivationMode specifies, for example for the com::sun::star::drawing::framework::XConfig...
Definition: ResourceActivationMode.idl:31
Definition: Ambiguous.idl:22