Files
odfstudio/comphelper/Library_comphelper.mk
T
Neil Roberts 2365c64aa3 comphelper: Add helpers for accessing duck-typed methods of XBrowseNode
Implementations of XBrowseNode have a bunch of extra methods which are
accessed by using XPropertySet::getPropertyValue to determine if the
action is possible and then XInvocation::invoke to invoke it. This patch
adds wrappers around checking and invoking these methods. The idea is to
abstract away the actual implementation so that the approach can be
changed in a later patch.

Change-Id: I117ab848391dbb1277f9331d6a93f71c2cb556ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207343
Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
Tested-by: Jenkins
2026-07-15 09:05:13 +02:00

178 lines
6.8 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
$(eval $(call gb_Library_Library,comphelper))
$(eval $(call gb_Library_use_custom_headers,comphelper,\
officecfg/registry \
))
$(eval $(call gb_Library_set_componentfile,comphelper,comphelper/util/comphelp,services))
$(eval $(call gb_Library_set_precompiled_header,comphelper,comphelper/inc/pch/precompiled_comphelper))
$(eval $(call gb_Library_add_defs,comphelper,\
-DCOMPHELPER_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_use_externals,comphelper,\
gpgmepp \
boost_headers \
frozen \
icuuc \
icu_headers \
zlib \
))
ifeq ($(TLS),NSS)
$(eval $(call gb_Library_use_externals,comphelper,\
plc4 \
nss3 \
))
else
ifeq ($(TLS),OPENSSL)
$(eval $(call gb_Library_use_externals,comphelper,\
openssl \
openssl_headers \
))
endif
endif
$(eval $(call gb_Library_use_libraries,comphelper,\
cppu \
cppuhelper \
sal \
salhelper \
ucbhelper \
i18nlangtag \
))
$(eval $(call gb_Library_use_sdk_api,comphelper))
$(eval $(call gb_Library_add_exception_objects,comphelper,\
comphelper/source/compare/AnyCompareFactory \
comphelper/source/container/IndexedPropertyValuesContainer \
comphelper/source/container/NamedPropertyValuesContainer \
comphelper/source/container/container \
comphelper/source/container/containermultiplexer \
comphelper/source/container/interfacecontainer2 \
comphelper/source/container/embeddedobjectcontainer \
comphelper/source/container/enumerablemap \
comphelper/source/container/enumhelper \
comphelper/source/container/namecontainer \
comphelper/source/crypto/Crypto \
$(if $(filter NSS,$(TLS)), comphelper/source/crypto/Crypto_NSS) \
$(if $(filter OPENSSL,$(TLS)), comphelper/source/crypto/Crypto_OpenSSL) \
$(if $(filter NSS OPENSSL,$(TLS)),,comphelper/source/crypto/Crypto_None) \
comphelper/source/eventattachermgr/eventattachermgr \
comphelper/source/misc/OAccessible \
comphelper/source/misc/accessibleeventnotifier \
comphelper/source/misc/accessiblekeybindinghelper \
comphelper/source/misc/accessibleselectionhelper \
comphelper/source/misc/accessibletexthelper \
comphelper/source/misc/AccessibleImplementationHelper \
comphelper/source/misc/anycompare \
comphelper/source/misc/anytohash \
comphelper/source/misc/anytostring \
comphelper/source/misc/asyncnotification \
comphelper/source/misc/asyncquithandler \
comphelper/source/misc/automationinvokedzone \
comphelper/source/misc/backupfilehelper \
comphelper/source/misc/base64 \
comphelper/source/misc/compbase \
comphelper/source/misc/componentbase \
comphelper/source/misc/configuration \
comphelper/source/misc/configurationhelper \
comphelper/source/misc/date \
comphelper/source/misc/debuggerinfo \
comphelper/source/misc/diagnose_ex \
comphelper/source/misc/DirectoryHelper \
comphelper/source/misc/dispatchcommand \
comphelper/source/misc/docpasswordhelper \
comphelper/source/misc/docpasswordrequest \
comphelper/source/misc/documentinfo \
comphelper/source/misc/emscriptenthreading \
comphelper/source/misc/errcode \
comphelper/source/misc/evtlistenerhlp \
comphelper/source/misc/evtmethodhelper \
comphelper/source/misc/fileurl \
comphelper/source/misc/getexpandeduri \
comphelper/source/misc/graphicmimetype \
comphelper/source/misc/hash \
comphelper/source/misc/instancelocker \
comphelper/source/misc/interaction \
comphelper/source/misc/logging \
comphelper/source/misc/lok \
comphelper/source/misc/mimeconfighelper \
comphelper/source/misc/namedvaluecollection \
comphelper/source/misc/numberedcollection \
comphelper/source/misc/numbers \
comphelper/source/misc/officerestartmanager \
comphelper/source/misc/traceevent \
comphelper/source/misc/random \
comphelper/source/misc/SelectionMultiplex \
comphelper/source/misc/scriptbrowse \
comphelper/source/misc/sequenceashashmap \
comphelper/source/misc/sharedmutex \
comphelper/source/misc/simplefileaccessinteraction \
comphelper/source/misc/solarmutex \
comphelper/source/misc/stillreadwriteinteraction \
comphelper/source/misc/storagehelper \
comphelper/source/misc/string \
comphelper/source/misc/synchronousdispatch \
comphelper/source/misc/syntaxhighlight \
comphelper/source/misc/threadpool \
comphelper/source/misc/types \
comphelper/source/misc/weakeventlistener \
comphelper/source/misc/xmlsechelper \
comphelper/source/officeinstdir/officeinstallationdirectories \
comphelper/source/processfactory/processfactory \
comphelper/source/property/ChainablePropertySet \
comphelper/source/property/ChainablePropertySetInfo \
comphelper/source/property/genericpropertyset \
comphelper/source/property/MasterPropertySet \
comphelper/source/property/MasterPropertySetInfo \
comphelper/source/property/opropertybag \
comphelper/source/property/propagg \
comphelper/source/property/propertybag \
comphelper/source/property/propertycontainer \
comphelper/source/property/propertycontainerhelper \
comphelper/source/property/property \
comphelper/source/property/propertysethelper \
comphelper/source/property/propertysetinfo \
comphelper/source/property/propertystatecontainer \
comphelper/source/property/propmultiplex \
comphelper/source/property/propmultiplex2 \
comphelper/source/property/propshlp \
comphelper/source/property/propstate \
comphelper/source/streaming/basicio \
comphelper/source/streaming/memorystream \
comphelper/source/streaming/oslfile2streamwrap \
comphelper/source/streaming/seekableinput \
comphelper/source/streaming/seqinputstreamserv \
comphelper/source/streaming/seqoutputstreamserv \
comphelper/source/streaming/seqstream \
comphelper/source/streaming/streamsection \
comphelper/source/xml/attributelist \
comphelper/source/xml/ofopxmlhelper \
comphelper/source/xml/xmltools \
))
# vim: set noet sw=4 ts=4: