Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 07/19/2013 03:45 PM, Thorsten Behrens wrote:
-unotools/source/config stores configmgr, and other cxx files. They handle
settings to use on other parts of the code.

they are basically convenience wrappers, yep

-configmgr and configItem are important for using the config files in other
files.

not really - as mentioned on irc, using the plain uno api should work
as well

Just for completeness' sake (and I guess it is rather irrelevant here where you want to use a generic approach anyway), note that there are C++ helper headers generated into workdir/*/CustomTarget/officecfg/registry/officecfg/...hxx for all the officecfg/registry/schema/org/openoffice/...xcs files, allowing for type-safe access to all the statically-known configuration items. (One intent of introducing them was to get rid of any of those wrapper facilities, cf. EasyHack <https://bugs.freedesktop.org/show_bug.cgi?id=46037> "Clean up uses of comphelper/configurationhelper.hxx.")

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.