tdf#146619 Use more forward declarations in include/ucbhelper/

Change-Id: I233162bb69e95c4b128e8189d1eb490a67c19ffa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198236
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
This commit is contained in:
Gabor Kelemen
2026-01-31 20:55:03 +01:00
parent 4048c36c29
commit 8215006a9d
10 changed files with 42 additions and 4 deletions
+30
View File
@@ -123,6 +123,9 @@ excludelist:
include/ucbhelper/commandenvironment.hxx:
# base class has to be a complete type
- com/sun/star/ucb/XCommandEnvironment.hpp
include/ucbhelper/contentidentifier.hxx:
# base class has to be a complete type
- com/sun/star/ucb/XContentIdentifier.hpp
include/ucbhelper/interceptedinteraction.hxx:
# base class has to be a complete type
- com/sun/star/task/XInteractionHandler.hpp
@@ -134,6 +137,33 @@ excludelist:
include/ucbhelper/propertyvalueset.hxx:
# needed in --fwdecl mode
- namespace ucbhelper_impl { struct PropertyValue; }
# base class has to be a complete type
- com/sun/star/sdbc/XColumnLocate.hpp
- com/sun/star/sdbc/XRow.hpp
include/ucbhelper/providerhelper.hxx:
# base class has to be a complete type
- com/sun/star/ucb/XContentProvider.hpp
- com/sun/star/lang/XServiceInfo.hpp
include/ucbhelper/resultset.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XComponent.hpp
- com/sun/star/ucb/XContentAccess.hpp
- com/sun/star/sdbc/XResultSet.hpp
- com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp
- com/sun/star/sdbc/XRow.hpp
- com/sun/star/sdbc/XCloseable.hpp
- com/sun/star/beans/XPropertySet.hpp
include/ucbhelper/resultsetmetadata.hxx:
# base class has to be a complete type
- com/sun/star/sdbc/XResultSetMetaData.hpp
include/ucbhelper/resultsethelper.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/ucb/XDynamicResultSet.hpp
include/ucbhelper/interactionrequest.hxx:
# base class has to be a complete type
- com/sun/star/task/XInteractionRequest.hpp
include/comphelper/accessiblekeybindinghelper.hxx:
# base class has to be a complete type
- com/sun/star/accessibility/XAccessibleKeyBinding.hpp
+2 -1
View File
@@ -21,9 +21,10 @@
#define INCLUDED_UCBHELPER_CANCELCOMMANDEXECUTION_HXX
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/ucb/IOErrorCode.hpp>
#include <ucbhelper/ucbhelperdllapi.h>
namespace com::sun::star::ucb { enum class IOErrorCode; }
namespace com::sun::star {
namespace uno { class Any; }
namespace ucb { class XCommandEnvironment; }
+3 -2
View File
@@ -20,8 +20,7 @@
#define INCLUDED_UCBHELPER_CONTENT_HXX
#include <rtl/ref.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Sequence.h>
#include <rtl/ustring.hxx>
#include <ucbhelper/ucbhelperdllapi.h>
namespace com::sun::star::beans
@@ -62,6 +61,8 @@ class XComponentContext;
namespace com::sun::star::uno
{
class Any;
template <class E> class Sequence;
template <class interface_type> class Reference;
}
namespace ucbhelper
+1 -1
View File
@@ -29,7 +29,6 @@
#include <com/sun/star/sdbc/XCloseable.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <rtl/ref.hxx>
#include <salhelper/simplereferenceobject.hxx>
#include <cppuhelper/implbase.hxx>
#include <ucbhelper/ucbhelperdllapi.h>
@@ -38,6 +37,7 @@
namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::ucb { class XCommandEnvironment; }
namespace rtl { template <class reference_type> class Reference; }
namespace ucbhelper {
+1
View File
@@ -42,6 +42,7 @@
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
#include <com/sun/star/ucb/InsertCommandArgument2.hpp>
#include <com/sun/star/ucb/InteractiveBadTransferURLException.hpp>
#include <com/sun/star/ucb/IOErrorCode.hpp>
#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/NameClashException.hpp>
#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
+1
View File
@@ -9,6 +9,7 @@
#include "cmis_datasupplier.hxx"
#include "cmis_resultset.hxx"
#include <rtl/ref.hxx>
using namespace com::sun::star::ucb;
using namespace com::sun::star::uno;
@@ -47,6 +47,7 @@
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
#include <com/sun/star/ucb/InteractiveBadTransferURLException.hpp>
#include <com/sun/star/ucb/IOErrorCode.hpp>
#include <com/sun/star/ucb/MissingPropertiesException.hpp>
#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/NameClashException.hpp>
+1
View File
@@ -46,6 +46,7 @@
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
#include <com/sun/star/ucb/InteractiveBadTransferURLException.hpp>
#include <com/sun/star/ucb/IOErrorCode.hpp>
#include <com/sun/star/ucb/MissingInputStreamException.hpp>
#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/NameClashException.hpp>
+1
View File
@@ -52,6 +52,7 @@
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
#include <com/sun/star/ucb/InteractiveBadTransferURLException.hpp>
#include <com/sun/star/ucb/IOErrorCode.hpp>
#include <com/sun/star/ucb/MissingInputStreamException.hpp>
#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/NameClashException.hpp>
+1
View File
@@ -24,6 +24,7 @@
#include <cppuhelper/queryinterface.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <rtl/ref.hxx>
#include <ucbhelper/resultset.hxx>
#include <ucbhelper/resultsetmetadata.hxx>
#include <ucbhelper/macros.hxx>