@JazzyNico: with regard to
> assignee: nobody → ~suv (suv-lp)
I don't think there's a chance I'd be able to get anywhere close to achieve this:
> 3) If possible, implement a runtime version check of libvisio in
> 'src/extension/internal/vsd-input.cpp', to only enable formats
> supported by the currently installed version of libvisio.
I can't tell whether there are other utility functions offered by libvisio which would be used instead, other then implementing a more verbose error dialog based on information returned from libvisio when parsing the selected file fails (e.g. because not yet supported by the installed version of libvisio).
@JazzyNico: with regard to
> assignee: nobody → ~suv (suv-lp)
I don't think there's a chance I'd be able to get anywhere close to achieve this:
> 3) If possible, implement a runtime version check of libvisio in internal/ vsd-input. cpp', to only enable formats
> 'src/extension/
> supported by the currently installed version of libvisio.
AFAICT based on the doxygen docs I have from libvisio 0.0.23, libvisio does not define macros for the version (libwpg, libwpd on the other hand do have macros for VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_STRING), nor does it offer a function to check the runtime version as for example cairo used to: cairographics. org/manual- 1.10.2/ cairo-Version- Information. html> cgit.freedeskto p.org/cairo/ tree/src/ cairo-version. c?id=1. 12.8>
<http://
and likely still does (though no longer documented in the API reference manual):
<http://
I can't tell whether there are other utility functions offered by libvisio which would be used instead, other then implementing a more verbose error dialog based on information returned from libvisio when parsing the selected file fails (e.g. because not yet supported by the installed version of libvisio).