Hi all,
Michael Meeks píše v Po 03. 12. 2012 v 10:00 +0000:
Well, that needs some amount of explanation, too, since the nested
namespace is still there, and needs to be used when implementing an
interface.
Well - IMHO it's far easier to explain 'api' on an ongoing basis than
'com::sun::star::' truncated to 'css' ;-)
I agree :-)
Personally I like api slightly better, but I simply lack
the time today. If someone signs up for that, then let's please also
change _all_ occurences of css in implementation code, _and_ the SDK
examples.
Sounds reasonable to me.
Based on the discussion on the IRC, I've used 'lo::' in the patch,
instead of the too generic 'api::'. The patch is split into 2, so that
we do not have to patch sc/ immediately due to the ongoing work there.
http://artax.karlin.mff.cuni.cz/~kendy/tmp/0001-API-Change-css-to-lo.patch
http://artax.karlin.mff.cuni.cz/~kendy/tmp/0002-API-Change-css-to-lo-in-sc-too.patch
I have even the 'api::' version around, but it seems to me that
generally people seemed to be happier with the less general 'lo::' [and
it is shorter ;-)].
Regarding the other concerns - we definitely do not want / cannot change
the com.sun.star in the .rdbs etc. due to our goal of keeping as much
ABI compatibility as possible. But my view here is that as soon as you
start seeing that something is named lo::blah::something in the core,
but com::sun::star::blah::something in the rdb or somewhere, you are
already advanced enough not to be confused by such a thing.
Please let me know if this is acceptable :-)
All the best,
Kendy
Context
- Re: [API] Some more cleanup ideas (continued)
Re: [API] Some more cleanup ideas · Lubos Lunak
Re: [API] Some more cleanup ideas · Stephan Bergmann
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.