1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Accessibility: Check if any accessibility clients are active before posting notifications and announcements

This commit is contained in:
ed 2021-06-16 17:22:00 +01:00
parent 399f8d5bf6
commit cdf3b619d8
4 changed files with 77 additions and 32 deletions

View file

@ -28,6 +28,8 @@ namespace juce
AccessibilityHandler* AccessibilityHandler::currentlyFocusedHandler = nullptr;
bool areAnyAccessibilityClientsActive();
enum class InternalAccessibilityEvent
{
elementCreated,
@ -37,7 +39,7 @@ enum class InternalAccessibilityEvent
windowClosed
};
void notifyAccessibilityEventInternal (const AccessibilityHandler& handler, InternalAccessibilityEvent event);
void notifyAccessibilityEventInternal (const AccessibilityHandler&, InternalAccessibilityEvent);
inline String getAccessibleApplicationOrPluginName()
{