92a36bbd4f
Switch css::accessibility::AccessibleRelationType from integer constants to an enum. This provides more type safety and improves the debugging experience, e.g. GDB now prints com::sun:⭐:accessibility::AccessibleRelationType::AccessibleRelationType_CONTENT_FLOWS_TO instead of just "2" when printing the value of a corresponding variable, so it's no longer necessary to manually look up what constant has that integer value to know what relation this refers to. offapi/com/sun/star/accessibility/AccessibleRelationType.idl had this comment: > <p>We are using constants instead of a more typesafe enum. The reason > for this is that IDL enums may not be extended. Therefore, in order to > include future extensions to the set of roles we have to use constants > here.</p> However, the a11y UNO API is internal (not published), so that shouldn't be a concern. Change-Id: I44a7d56cb085dc24effb24fcd34bb222b78ef4cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176153 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins |
||
---|---|---|
.. | ||
com/sun/star | ||
org | ||
type_reference | ||
Makefile | ||
Module_offapi.mk | ||
README.md | ||
UnoApi_offapi.mk |
LibreOffice API IDL Files Except UDK API
Contains all of the IDL files except those in udkapi
.
i.e. the interfaces that are specific to the LibreOffice application. An artificial (?) separation.
The reference offapi/type_reference/offapi.idl
and
udkapi/type_reference/udkapi.idl
(formerly combined into a single
offapi/type_reference/types.rdb
) are used to detect inadvertent incompatible
changes. They are plain-text .idl
files (not strictly lexicographically sorted,
though, so they satisfy the .idl
file requirements for no forward dependencies),
so in cases where we deliberately /do/ become incompatible they can be modified
manually.
Old such cases of deliberately becoming incompatible are listed in
offapi/type_reference/typelibrary_history.txt
, newer such cases are recorded in
the git log
s of (now superseded) offapi/type_reference/types.rdb
,
offapi/type_reference/offapi.rdb
, and udkapi/type_reference/udkapi.rdb
, new such
cases are recorded in the git log
s of offapi/type_reference/offapi.idl
and
udkapi/type_reference/udkapi.idl
.