LCOV - code coverage report
Current view: top level - libreoffice/toolkit/inc/toolkit/controls - tabpagemodel.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 3 0.0 %
Date: 2012-12-27 Functions: 0 7 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             : 
      20             : #ifndef TOOLKIT_TABPAGE_MODEL_HXX
      21             : #define TOOLKIT_TABPAGE_MODEL_HXX
      22             : 
      23             : #include <toolkit/controls/controlmodelcontainerbase.hxx>
      24             : #include <com/sun/star/awt/tab/XTabPageModel.hpp>
      25             : #include <com/sun/star/awt/tab/XTabPage.hpp>
      26             : #include <com/sun/star/resource/XStringResourceResolver.hpp>
      27             : #include <com/sun/star/lang/XInitialization.hpp>
      28             : #include "toolkit/helper/servicenames.hxx"
      29             : #include "toolkit/helper/macros.hxx"
      30             : #include <toolkit/controls/unocontrolcontainer.hxx>
      31             : #include <cppuhelper/basemutex.hxx>
      32             : #include <list>
      33             : #include <cppuhelper/implbase2.hxx>
      34             : 
      35           0 : class UnoControlTabPageModel :  public ControlModelContainerBase
      36             : {
      37             : protected:
      38             :     ::com::sun::star::uno::Any          ImplGetDefaultValue( sal_uInt16 nPropId ) const;
      39             :     ::cppu::IPropertyArrayHelper&       SAL_CALL getInfoHelper();
      40             : public:
      41             :     UnoControlTabPageModel( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > const & i_factory);
      42             : 
      43             :     // ::com::sun::star::io::XPersistObject
      44             :     ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
      45             : 
      46             :     // ::com::sun::star::beans::XMultiPropertySet
      47             :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
      48             :     // XInitialization
      49             :     virtual void SAL_CALL initialize (const com::sun::star::uno::Sequence<com::sun::star::uno::Any>& rArguments)
      50             :             throw (com::sun::star::uno::Exception, com::sun::star::uno::RuntimeException);
      51             : 
      52             :     // XServiceInfo
      53           0 :     DECLIMPL_SERVICEINFO_DERIVED( UnoControlTabPageModel, ControlModelContainerBase, szServiceName_UnoControlTabPageModel )
      54             : 
      55             : };
      56             : 
      57             : //  ----------------------------------------------------
      58             : //  class UnoTabPageControl
      59             : //  ----------------------------------------------------
      60             : typedef ::cppu::AggImplInheritanceHelper2   <   ControlContainerBase
      61             :                                             ,   ::com::sun::star::awt::tab::XTabPage
      62             :                                             ,   ::com::sun::star::awt::XWindowListener
      63             :                                             >   UnoControlTabPage_Base;
      64             : class UnoControlTabPage : public UnoControlTabPage_Base
      65             : {
      66             : private:
      67             :     bool            m_bWindowListener;
      68             : public:
      69             : 
      70             :     UnoControlTabPage( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& i_factory );
      71             :     ~UnoControlTabPage();
      72             :     ::rtl::OUString             GetComponentServiceName();
      73             : 
      74             :     void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException);
      75             :     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException);
      76             :     void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
      77             : 
      78             :      // ::com::sun::star::awt::XWindowListener
      79             :     virtual void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& e ) throw (::com::sun::star::uno::RuntimeException);
      80             :     virtual void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& e ) throw (::com::sun::star::uno::RuntimeException);
      81             :     virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
      82             :     virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
      83             :     // ::com::sun::star::lang::XServiceInfo
      84           0 :     DECLIMPL_SERVICEINFO( UnoControlTabPage, szServiceName_UnoControlTabPage)
      85             : };
      86             : 
      87             : #endif // TOOLKIT_TABPAGE_MODEL_HXX
      88             : 
      89             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10