Ariel Constenla-Haile wrote:
Hi Jürgen,

Juergen Schmidt escribió:
But Ariel pointed out that we have this API and that of course this API can be used to convert an URL into a system path. Advantage is that it can be used from Basic and other languages as well.

in *Basic* we already have convertToURL and convertFromURL, so there is no need to use extra code (createUnoService("com.sun.star.ucb.FileContentProvider") ...).

If I used right the LXR Cross Referencer, everything is related and all ends up in sal (/sal/inc/osl/file.hxx):


OOo Basic functions:
RTLFUNC(ConvertToUrl) in /basic/source/runtime/methods1.cxx 1.36 1478-1496
RTLFUNC(ConvertFromUrl) in /basic/source/runtime/methods1.cxx 1.36 1498-1514

FileContentProvider implementation in ucb/source/ucp/file/prov.hxx, ucb/source/ucp/file/prov.cxx 1.47 721-740

that is the good part of it ;-) We use at least the same system abstraction wherever possible.

Juergen




Regards
Ariel




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to