summaryrefslogtreecommitdiff
path: root/toolkit/inc/toolkit
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2002-08-26 12:30:03 +0000
committerThomas Benisch <tbe@openoffice.org>2002-08-26 12:30:03 +0000
commitb750d8a8c7de083a2822dedf4d91e2ac77088cec (patch)
tree52e20ffabdfc1b852a15b807f117637f6be98a8d /toolkit/inc/toolkit
parentff43b71df9cb7c3c0ddbc2772123799d6ea00bab (diff)
#100534# XServiceInfo
Diffstat (limited to 'toolkit/inc/toolkit')
-rw-r--r--toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx24
1 files changed, 20 insertions, 4 deletions
diff --git a/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx b/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx
index 2cde21161a4f..4f7684fca8ce 100644
--- a/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx
+++ b/toolkit/inc/toolkit/awt/vclxaccessiblecomponent.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: vclxaccessiblecomponent.hxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: ssa $ $Date: 2002-06-03 15:54:17 $
+ * last change: $Author: tbe $ $Date: 2002-08-26 13:27:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,10 +77,16 @@
#ifndef _COM_SUN_STAR_AWT_XWINDOW_HPP_
#include <com/sun/star/awt/XWindow.hpp>
#endif
+#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#endif
#ifndef _CPPUHELPER_COMPBASE3_HXX_
#include <cppuhelper/compbase3.hxx>
#endif
+#ifndef _CPPUHELPER_IMPLBASE1_HXX_
+#include <cppuhelper/implbase1.hxx>
+#endif
#ifndef COMPHELPER_ACCIMPLACCESS_HXX
#include <comphelper/accimplaccess.hxx>
#endif
@@ -100,16 +106,21 @@ namespace utl {
class AccessibleStateSetHelper;
}
-typedef ::comphelper::OAccessibleExtendedComponentHelper VCLXAccessibleComponentBase;
// ----------------------------------------------------
// class VCLXAccessibleComponent
// ----------------------------------------------------
+typedef ::comphelper::OAccessibleExtendedComponentHelper AccessibleExtendedComponentHelper_BASE;
+
+typedef ::cppu::ImplHelper1<
+ ::com::sun::star::lang::XServiceInfo > VCLXAccessibleComponent_BASE;
+
class VCLExternalSolarLock;
class VCLXAccessibleComponent
- :public VCLXAccessibleComponentBase
+ :public AccessibleExtendedComponentHelper_BASE
,public ::comphelper::OAccessibleImplementationAccess
+ ,public VCLXAccessibleComponent_BASE
{
private:
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow> mxWindow;
@@ -144,6 +155,11 @@ public:
// ::com::sun::star::lang::XTypeProvider
DECLARE_XTYPEPROVIDER()
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& rServiceName ) throw (::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException);
+
// ::drafts::com::sun::star::accessibility::XAccessibleContext
sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (::com::sun::star::uno::RuntimeException);
::com::sun::star::uno::Reference< ::drafts::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);