LCOV - code coverage report
Current view: top level - dbaccess/source/ui/inc - JAccess.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 4 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_JACCESS_HXX
      20             : #define INCLUDED_DBACCESS_SOURCE_UI_INC_JACCESS_HXX
      21             : 
      22             : #include <toolkit/awt/vclxaccessiblecomponent.hxx>
      23             : #include <cppuhelper/implbase1.hxx>
      24             : #include <vcl/vclptr.hxx>
      25             : 
      26             : namespace dbaui
      27             : {
      28             :     class OJoinTableView;
      29             :     typedef ::cppu::ImplHelper1< ::com::sun::star::accessibility::XAccessible
      30             :                                             > OJoinDesignViewAccess_BASE;
      31             :     /** the class OJoinDesignViewAccess represents the accessible object for join views
      32             :         like the QueryDesign and the RelationDesign
      33             :     */
      34           0 :     class OJoinDesignViewAccess     :   public VCLXAccessibleComponent, public OJoinDesignViewAccess_BASE
      35             :     {
      36             :         VclPtr<OJoinTableView> m_pTableView; // the window which I should give accessibility to
      37             : 
      38             :     public:
      39             :         /** OJoinDesignViewAccess needs a valid view
      40             :         */
      41             :         OJoinDesignViewAccess(  OJoinTableView* _pTableView);
      42             : 
      43             :         // XInterface
      44             :         DECLARE_XINTERFACE( )
      45             :         DECLARE_XTYPEPROVIDER( )
      46             : 
      47             :         // XServiceInfo - static methods
      48             :         static OUString getImplementationName_Static() throw( com::sun::star::uno::RuntimeException );
      49             : 
      50             :         virtual OUString SAL_CALL getImplementationName() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      51             : 
      52             :         // XAccessible
      53             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      54             : 
      55             :         // XAccessibleContext
      56             :         virtual sal_Int32 SAL_CALL getAccessibleChildCount(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      57             :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleChild( sal_Int32 i ) throw (::com::sun::star::lang::IndexOutOfBoundsException,::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      58             :         virtual sal_Int16 SAL_CALL getAccessibleRole(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      59             : 
      60             :         OJoinTableView* getTableView() const { return m_pTableView; }
      61             : 
      62           0 :         void notifyAccessibleEvent(
      63             :                     const sal_Int16 _nEventId,
      64             :                     const ::com::sun::star::uno::Any& _rOldValue,
      65             :                     const ::com::sun::star::uno::Any& _rNewValue
      66             :                 )
      67             :         {
      68           0 :             NotifyAccessibleEvent(_nEventId,_rOldValue,_rNewValue);
      69           0 :         }
      70             : 
      71             :         void clearTableView();
      72             :     };
      73             : }
      74             : #endif // INCLUDED_DBACCESS_SOURCE_UI_INC_JACCESS_HXX
      75             : 
      76             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11