most efficient way to keep in sync with configuration data ?

Caolán McNamara caolanm at redhat.com
Thu Aug 30 04:09:32 PDT 2012


What's the most efficient way to repeatedly get an up-to-date
configuration value ?

Just do
sal_Int32 nFoo = officecfg::Office::Writer::Foo::get();
every time you need Foo, or request Foo once and register some listener
of some kind on Foo modifications ?

C.



More information about the LibreOffice mailing list