summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-23 14:53:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-25 17:37:35 +0200
commit54c2637c1c9b526ffd9423e2d8e431474b535276 (patch)
treec35b32360a5fa574cad71af4461e676a6c8d15e8 /include
parent4df294a2eae0098f61b4b70ec17dde569fbfc2a0 (diff)
provide a route to weld accessibility
Change-Id: I92e88a4356cb8e4bd958fd86d33c52f5be82be54 Reviewed-on: https://gerrit.libreoffice.org/51787 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/weld.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index d6234273b703..4a8340e1ed63 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -17,6 +17,8 @@
#include <vcl/field.hxx>
#include <vcl/virdev.hxx>
+typedef css::uno::Reference<css::accessibility::XAccessible> a11yref;
+
namespace weld
{
class Container;
@@ -595,7 +597,9 @@ public:
virtual TextView* weld_text_view(const OString& id, bool bTakeOwnership = false) = 0;
virtual Expander* weld_expander(const OString& id, bool bTakeOwnership = false) = 0;
virtual Entry* weld_entry(const OString& id, bool bTakeOwnership = false) = 0;
- virtual DrawingArea* weld_drawing_area(const OString& id, bool bTakeOwnership = false) = 0;
+ virtual DrawingArea* weld_drawing_area(const OString& id, const a11yref& rA11yImpl = nullptr,
+ bool bTakeOwnership = false)
+ = 0;
virtual ~Builder() {}
};