> Hello Patrick, > > On Sunday 18 April 2010, 05:49, Patrick Bernard wrote: > > If unpublished interfaces can be changed at any time in any release, is > > it advisable to use an unpublished interface in released code ? > > > > Besides, is it possible, when compiling the code, to be warned that > > unpublished interfaces are used ? > > this kind of questions have been discussed several times on this (and, if > IRRC, others OOo) mailing lists, you can search the archives. > This is the kind of topic where the thread ends up open, with no clear > answer, because different OOo developers have different opinions about what > should be understood under "unpublished" (may be from "this is unstable API > I plan to change it any time" to "I just plan to enhance it by adding > further functionality, so I leave this unpublished"). > So a warning when using unpublished API does not sound very realistic.
In any case, using an unpublished API means that the code could stop working with a newer version of OpenOffice.org (maybe leading to crashes), so it would be useful to detect it at compile time or at runtime. Patrick --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org