Skip to content

Commit

Permalink
IDL corrections for IAccessibleTextSelectionContainer interface. (#20)
Browse files Browse the repository at this point in the history
- ia2TextSelection struct's startIsActive member used 'bool' as its data type. this does not exist in idl. This has been changed to 'boolean'.
- IAccessibleTextSelectionContainer has been declared in the type library section, ensuring that this interface is included in the type library.

Closes #18, closes #19.

Signed-off-by: Alexander Surkov <[email protected]>
  • Loading branch information
asurkov authored Mar 31, 2022
1 parent f7d5dab commit 77b27f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions api/Accessible2.idl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
@section _interfaces Interfaces
IAccessible2\n
IAccessible2_2\n
IAccessible2_3\n
IAccessible2_3 [Deprecated]\n
IAccessibleAction\n
IAccessibleApplication\n
IAccessibleComponent\n
Expand All @@ -72,13 +72,15 @@
IAccessibleTableCell\n
IAccessibleText\n
IAccessibleText2\n
IAccessibleTextSelectionContainer\n
IAccessibleValue

@section _structs Structs
IA2Locale\n
IA2Range\n
IA2TableModelChange\n
IA2TextSegment
IA2TextSegment\n
IA2TextSelection

@section _enums Enums
::IA2Actions values are predefined actions for use when implementing support for HTML5 media.\n
Expand Down
2 changes: 1 addition & 1 deletion api/AccessibleTextSelectionContainer.idl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ typedef struct IA2TextSelection {
long startOffset;
IAccessibleText* endObj;
long endOffset;
bool startIsActive;
boolean startIsActive;
} IA2TextSelection;

/**
Expand Down
1 change: 1 addition & 0 deletions api/IA2TypeLibrary.idl
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ library IAccessible2Lib
interface IAccessibleTableCell;
interface IAccessibleText;
interface IAccessibleText2;
interface IAccessibleTextSelectionContainer;
interface IAccessibleValue;
enum IA2CoordinateType;
enum IA2EventID;
Expand Down

0 comments on commit 77b27f7

Please sign in to comment.