On 01/09/2013 02:54 PM, Michael Meeks wrote:
Why not just use some more normal, verbose and explicitly named macros
like LIBO_MAJOR_VERSION, LIBO_MINOR_VERSION, LIBO_MICRO_VERSION,
LIBO_PATCHLEVEL, or something similar?

        Go for it - it sounds like the libo-version thing is not currently
used; and if there is a nicer macro (I couldn't find it for some reason
- prolly I was looking on the compile line for a -D ;-), then we should
clearly use it.

Regarding version information, there is solver/*/inc/*minor.mk (make-level variables VERSIONMAJOR, VERSIONMINOR, etc.) and there is solenv/inc/version.hrc including versionlist.hrc (#defines for VERSION, SUBVERSION, etc.).

C++ code like desktop/source/deployment/misc/dp_dependencies.cxx uses utl::ConfigManager::getAboutBoxProductVersion, which in turn reads the /org.openoffice.Setup/Product/ configuration data.

(In case anything of that is useful or relevant for the current thread, which I didn't quite get.)

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to