diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-06-25 10:03:08 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-06-25 10:03:08 +0000 |
commit | 68cae56c7d89033374be9fb5a8416d4760d25ebd (patch) | |
tree | 9035dcc6fab8744febf60a52034ba352b5399d44 /dbaccess/source/ui/inc/ConnectionLineAccess.hxx | |
parent | 49fd86178a80ca4ac5d7be012868140f1af8b95f (diff) |
INTEGRATION: CWS dba08 (1.2.22); FILE MERGED
2003/06/17 06:58:02 oj 1.2.22.1: #110261# change accessibility handling to toolkit
Diffstat (limited to 'dbaccess/source/ui/inc/ConnectionLineAccess.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/ConnectionLineAccess.hxx | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx index 97669db2230d..2eccad3bbc40 100644 --- a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx +++ b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ConnectionLineAccess.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: vg $ $Date: 2003-04-24 17:20:40 $ + * last change: $Author: vg $ $Date: 2003-06-25 11:03:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -64,22 +64,23 @@ #ifndef _COM_SUN_STAR_ACCESSIBILITY_XACCESSIBLERELATIONSET_HPP_ #include <com/sun/star/accessibility/XAccessibleRelationSet.hpp> #endif -#ifndef _CPPUHELPER_IMPLBASE1_HXX_ -#include <cppuhelper/implbase1.hxx> +#ifndef _CPPUHELPER_IMPLBASE2_HXX_ +#include <cppuhelper/implbase2.hxx> #endif -#ifndef DBACCESS_ACCESSIBLEBASE_HXX -#include "AccessibleBase.hxx" +#ifndef _TOOLKIT_AWT_VCLXACCESSIBLECOMPONENT_HXX_ +#include <toolkit/awt/vclxaccessiblecomponent.hxx> #endif namespace dbaui { - typedef ::cppu::ImplHelper1< ::com::sun::star::accessibility::XAccessibleRelationSet + typedef ::cppu::ImplHelper2< ::com::sun::star::accessibility::XAccessibleRelationSet, + ::com::sun::star::accessibility::XAccessible > OConnectionLineAccess_BASE; class OTableConnection; /** the class OConnectionLineAccess represents the accessible object for the connection between two table windows like they are used in the QueryDesign and the RelationDesign */ - class OConnectionLineAccess : public OAccessibleBase + class OConnectionLineAccess : public VCLXAccessibleComponent , public OConnectionLineAccess_BASE { const OTableConnection* m_pLine; // the window which I should give accessibility to @@ -99,11 +100,11 @@ namespace dbaui virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw () { // here inline is allowed because we do not use this class outside this dll - OAccessibleBase::acquire( ); + VCLXAccessibleComponent::acquire( ); } virtual void SAL_CALL release( ) throw () { // here inline is allowed because we do not use this class outside this dll - OAccessibleBase::release( ); + VCLXAccessibleComponent::release( ); } // XTypeProvider @@ -114,6 +115,9 @@ namespace dbaui // XServiceInfo virtual ::rtl::OUString SAL_CALL getImplementationName() throw(com::sun::star::uno::RuntimeException); + // XAccessible + virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException); + // XAccessibleContext virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (::com::sun::star::uno::RuntimeException); |