[GSOC] about:config utility - Weekly Report #4

Stephan Bergmann sbergman at redhat.com
Mon Jul 22 08:15:52 PDT 2013


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


More information about the LibreOffice mailing list