framework: Move layoutmanager.hxx to top-level include/

Move the so far framework-internal headers layoutmanager.hxx
and the uielement.hxx one that it includes to the
top-level include/ directory and mark LayoutManager as
FWK_DLLPUBLIC.

This is to prepare for a new version of Heiko's [1]
that doesn't require UNO API changes, but can use
the LayoutManager class directly.

[1] https://gerrit.libreoffice.org/c/core/+/195836/9

Change-Id: I7439274c29814ef23c6fde11770e1519e54bc0b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197338
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
This commit is contained in:
Michael Weghorn
2026-02-14 08:36:24 +01:00
committed by Heiko Tietze
parent c32fcaa866
commit e22352dcaf
7 changed files with 12 additions and 13 deletions
@@ -21,7 +21,6 @@
#include <config_feature_desktop.h>
#include <properties.h>
#include <services/layoutmanager.hxx>
#include "helpers.hxx"
#include <framework/sfxhelperfunctions.hxx>
@@ -52,6 +51,7 @@
#include <comphelper/lok.hxx>
#include <comphelper/propertyvalue.hxx>
#include <framework/layoutmanager.hxx>
#include <vcl/status.hxx>
#include <vcl/settings.hxx>
#include <vcl/vclevent.hxx>
@@ -21,7 +21,6 @@
#include <uiconfiguration/windowstateproperties.hxx>
#include <uielement/addonstoolbarwrapper.hxx>
#include "helpers.hxx"
#include <services/layoutmanager.hxx>
#include <strings.hrc>
#include <classes/fwkresid.hxx>
@@ -35,6 +34,7 @@
#include <comphelper/propertyvalue.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <framework/layoutmanager.hxx>
#include <o3tl/string_view.hxx>
#include <unotools/cmdoptions.hxx>
#include <toolkit/helper/vclunohelper.hxx>
@@ -26,8 +26,8 @@
#include <uiconfiguration/globalsettings.hxx>
#include <framework/addonsoptions.hxx>
#include <uielement/uielement.hxx>
#include <services/layoutmanager.hxx>
#include <framework/layoutmanager.hxx>
#include <framework/uielement.hxx>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
#include <com/sun/star/awt/XWindowListener.hpp>
+1 -2
View File
@@ -17,9 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <uielement/uielement.hxx>
#include <com/sun/star/ui/DockingArea.hpp>
#include <framework/uielement.hxx>
using namespace ::com::sun::star;
@@ -19,8 +19,6 @@
#pragma once
#include <uielement/uielement.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/frame/XLayoutManager2.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
@@ -39,6 +37,8 @@
#include <cppuhelper/supportsservice.hxx>
#include <comphelper/propertycontainer.hxx>
#include <comphelper/uno3.hxx>
#include <framework/fwkdllapi.h>
#include <framework/uielement.hxx>
#include <tools/gen.hxx>
#include <vcl/timer.hxx>
#include <vcl/vclevent.hxx>
@@ -59,10 +59,10 @@ typedef ::cppu::WeakImplHelper<css::lang::XServiceInfo, css::frame::XLayoutManag
LayoutManager_Base;
typedef ::comphelper::OPropertyContainer LayoutManager_PBase;
class LayoutManager final : public LayoutManager_Base,
private cppu::BaseMutex,
public ::cppu::OBroadcastHelper,
public LayoutManager_PBase
class FWK_DLLPUBLIC LayoutManager final : public LayoutManager_Base,
private cppu::BaseMutex,
public ::cppu::OBroadcastHelper,
public LayoutManager_PBase
{
public:
LayoutManager(const css::uno::Reference<css::uno::XComponentContext>& xContext);
+1 -1
View File
@@ -4128,7 +4128,6 @@ framework/inc/uielement/toolbarmodemenucontroller.hxx
framework/inc/uielement/toolbarsmenucontroller.hxx
framework/inc/uielement/toolbarwrapper.hxx
framework/inc/uielement/uicommanddescription.hxx
framework/inc/uielement/uielement.hxx
framework/inc/uielement/uielementtypenames.hxx
framework/inc/uifactory/configurationaccessfactorymanager.hxx
framework/inc/uifactory/factoryconfiguration.hxx
@@ -5065,6 +5064,7 @@ include/framework/imutex.hxx
include/framework/sfxhelperfunctions.hxx
include/framework/titlehelper.hxx
include/framework/transactionmanager.hxx
include/framework/uielement.hxx
include/framework/undomanagerhelper.hxx
include/helpcompiler/HelpIndexer.hxx
include/helpcompiler/HelpSearch.hxx