146dbaceeSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 346dbaceeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 446dbaceeSAndrew Rist * or more contributor license agreements. See the NOTICE file 546dbaceeSAndrew Rist * distributed with this work for additional information 646dbaceeSAndrew Rist * regarding copyright ownership. The ASF licenses this file 746dbaceeSAndrew Rist * to you under the Apache License, Version 2.0 (the 846dbaceeSAndrew Rist * "License"); you may not use this file except in compliance 946dbaceeSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 1146dbaceeSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 1346dbaceeSAndrew Rist * Unless required by applicable law or agreed to in writing, 1446dbaceeSAndrew Rist * software distributed under the License is distributed on an 1546dbaceeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1646dbaceeSAndrew Rist * KIND, either express or implied. See the License for the 1746dbaceeSAndrew Rist * specific language governing permissions and limitations 1846dbaceeSAndrew Rist * under the License. 19cdf0e10cSrcweir * 2046dbaceeSAndrew Rist *************************************************************/ 2146dbaceeSAndrew Rist 2246dbaceeSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _EXTENSIONS_PROPCTRLR_COMMONCONTROL_HXX_ 25cdf0e10cSrcweir #define _EXTENSIONS_PROPCTRLR_COMMONCONTROL_HXX_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir /** === begin UNO includes === **/ 28cdf0e10cSrcweir #include <com/sun/star/inspection/XPropertyControl.hpp> 29cdf0e10cSrcweir #include <com/sun/star/lang/DisposedException.hpp> 30cdf0e10cSrcweir /** === end UNO includes === **/ 31cdf0e10cSrcweir #include <cppuhelper/compbase1.hxx> 32cdf0e10cSrcweir #include <comphelper/broadcasthelper.hxx> 33cdf0e10cSrcweir #include <tools/link.hxx> 34cdf0e10cSrcweir #include <vcl/window.hxx> 35cdf0e10cSrcweir 36cdf0e10cSrcweir class NotifyEvent; 37cdf0e10cSrcweir //............................................................................ 38cdf0e10cSrcweir namespace pcr 39cdf0e10cSrcweir { 40cdf0e10cSrcweir //............................................................................ 41cdf0e10cSrcweir 42cdf0e10cSrcweir class ControlHelper; 43cdf0e10cSrcweir //======================================================================== 44cdf0e10cSrcweir //= ControlWindow 45cdf0e10cSrcweir //======================================================================== 46cdf0e10cSrcweir template< class WINDOW > 47cdf0e10cSrcweir class ControlWindow : public WINDOW 48cdf0e10cSrcweir { 49cdf0e10cSrcweir protected: 50cdf0e10cSrcweir typedef WINDOW WindowType; 51cdf0e10cSrcweir 52cdf0e10cSrcweir protected: 53cdf0e10cSrcweir ControlHelper* m_pHelper; 54cdf0e10cSrcweir 55cdf0e10cSrcweir public: ControlWindow(Window * _pParent,WinBits _nStyle)56cdf0e10cSrcweir ControlWindow( Window* _pParent, WinBits _nStyle ) 57cdf0e10cSrcweir :WindowType( _pParent, _nStyle ) 58cdf0e10cSrcweir ,m_pHelper( NULL ) 59cdf0e10cSrcweir { 60cdf0e10cSrcweir } 61cdf0e10cSrcweir 62cdf0e10cSrcweir /// sets a ControlHelper instance which some functionality is delegated to 63cdf0e10cSrcweir inline virtual void setControlHelper( ControlHelper& _rControlHelper ); 64cdf0e10cSrcweir 65cdf0e10cSrcweir protected: 66cdf0e10cSrcweir // Window overridables 67cdf0e10cSrcweir inline virtual long PreNotify( NotifyEvent& rNEvt ); 68cdf0e10cSrcweir }; 69cdf0e10cSrcweir 70cdf0e10cSrcweir //======================================================================== 71cdf0e10cSrcweir //= IModifyListener 72cdf0e10cSrcweir //======================================================================== 73cdf0e10cSrcweir class SAL_NO_VTABLE IModifyListener 74cdf0e10cSrcweir { 75cdf0e10cSrcweir public: 76cdf0e10cSrcweir virtual void modified() = 0; 77cdf0e10cSrcweir }; 78cdf0e10cSrcweir 79cdf0e10cSrcweir //======================================================================== 80cdf0e10cSrcweir //= ControlHelper 81cdf0e10cSrcweir //======================================================================== 82cdf0e10cSrcweir /** A helper class for implementing the <type scope="com::sun::star::inspection">XPropertyControl</type> 83cdf0e10cSrcweir or one of its derived interfaces. 84cdf0e10cSrcweir 85cdf0e10cSrcweir This class is intended to be held as member of another class which implements the 86cdf0e10cSrcweir <type scope="com::sun::star::inspection">XPropertyControl</type> interface. The pointer 87cdf0e10cSrcweir to this interface is to be passed to the ctor. 88cdf0e10cSrcweir */ 89cdf0e10cSrcweir class ControlHelper 90cdf0e10cSrcweir { 91cdf0e10cSrcweir private: 92cdf0e10cSrcweir Window* m_pControlWindow; 93cdf0e10cSrcweir sal_Int16 m_nControlType; 94cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext > 95cdf0e10cSrcweir m_xContext; 96cdf0e10cSrcweir ::com::sun::star::inspection::XPropertyControl& 97cdf0e10cSrcweir m_rAntiImpl; 98cdf0e10cSrcweir IModifyListener* m_pModifyListener; 99cdf0e10cSrcweir sal_Bool m_bModified; 100cdf0e10cSrcweir 101cdf0e10cSrcweir public: 102cdf0e10cSrcweir /** creates the instance 103cdf0e10cSrcweir @param _rControlWindow 104cdf0e10cSrcweir the window which is associated with the <type scope="com::sun::star::inspection">XPropertyControl</type>. 105cdf0e10cSrcweir Must not be <NULL/>.<br/> 106cdf0e10cSrcweir Ownership for this window is taken by the ControlHelper - it will be deleted in <member>disposing</member>. 107cdf0e10cSrcweir @param _nControlType 108cdf0e10cSrcweir the type of the control - one of the <type scope="com::sun::star::inspection">PropertyControlType</type> 109cdf0e10cSrcweir constants 110cdf0e10cSrcweir @param _pAntiImpl 111cdf0e10cSrcweir Reference to the instance as whose "impl-class" we act. This reference is held during lifetime 112cdf0e10cSrcweir of the <type>ControlHelper</type> class, within acquiring it. Thus, the owner of the 113cdf0e10cSrcweir <type>ControlHelper</type> is responsible for assuring the lifetime of the instance 114cdf0e10cSrcweir pointed to by <arg>_pAntiImpl</arg>. 115cdf0e10cSrcweir @param _pModifyListener 116*351838c4SJohn Bampton a listener to be modified when the user modified the control's value. the 117cdf0e10cSrcweir <member>IModifyListener::modified</member> of this listener is called from within our 118cdf0e10cSrcweir ModifiedHdl. A default implementation of <member>IModifyListener::modified</member> 119cdf0e10cSrcweir would just call our <member>setModified</member>. 120cdf0e10cSrcweir */ 121cdf0e10cSrcweir ControlHelper( 122cdf0e10cSrcweir Window* _pControlWindow, 123cdf0e10cSrcweir sal_Int16 _nControlType, 124cdf0e10cSrcweir ::com::sun::star::inspection::XPropertyControl& _rAntiImpl, 125cdf0e10cSrcweir IModifyListener* _pModifyListener ); 126cdf0e10cSrcweir 127cdf0e10cSrcweir virtual ~ControlHelper(); 128cdf0e10cSrcweir 129cdf0e10cSrcweir /** sets our "modified" flag to <TRUE/> 130cdf0e10cSrcweir */ setModified()131cdf0e10cSrcweir inline void setModified() { m_bModified = sal_True; } getVclControlWindow()132cdf0e10cSrcweir inline Window* getVclControlWindow() { return m_pControlWindow; } getVclControlWindow() const133cdf0e10cSrcweir inline const Window* getVclControlWindow() const { return m_pControlWindow; } 134cdf0e10cSrcweir 135cdf0e10cSrcweir public: 136cdf0e10cSrcweir // XPropertyControl 137cdf0e10cSrcweir ::sal_Int16 SAL_CALL getControlType() throw (::com::sun::star::uno::RuntimeException); 138cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext > SAL_CALL getControlContext() throw (::com::sun::star::uno::RuntimeException); 139cdf0e10cSrcweir void SAL_CALL setControlContext( const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext >& _controlcontext ) throw (::com::sun::star::uno::RuntimeException); 140cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getControlWindow() throw (::com::sun::star::uno::RuntimeException); 141cdf0e10cSrcweir ::sal_Bool SAL_CALL isModified( ) throw (::com::sun::star::uno::RuntimeException); 142cdf0e10cSrcweir void SAL_CALL notifyModifiedValue( ) throw (::com::sun::star::uno::RuntimeException); 143cdf0e10cSrcweir 144cdf0e10cSrcweir // XComponent 145cdf0e10cSrcweir virtual void SAL_CALL dispose(); 146cdf0e10cSrcweir 147cdf0e10cSrcweir /** (fail-safe) wrapper around calling our context's activateNextControl 148cdf0e10cSrcweir */ activateNextControl() const149cdf0e10cSrcweir inline void activateNextControl() const { impl_activateNextControl_nothrow(); } 150cdf0e10cSrcweir 151cdf0e10cSrcweir public: 152cdf0e10cSrcweir /// may be used to implement the default handling in PreNotify; returns sal_True if handled 153cdf0e10cSrcweir bool handlePreNotify(NotifyEvent& _rNEvt); 154cdf0e10cSrcweir 155cdf0e10cSrcweir /// automatically size the window given in the ctor 156cdf0e10cSrcweir void autoSizeWindow(); 157cdf0e10cSrcweir 158cdf0e10cSrcweir /// may be used by derived classes, they forward the event to the PropCtrListener 159cdf0e10cSrcweir DECL_LINK( ModifiedHdl, Window* ); 160cdf0e10cSrcweir DECL_LINK( GetFocusHdl, Window* ); 161cdf0e10cSrcweir DECL_LINK( LoseFocusHdl, Window* ); 162cdf0e10cSrcweir 163cdf0e10cSrcweir private: 164cdf0e10cSrcweir /** fail-safe wrapper around calling our context's activateNextControl 165cdf0e10cSrcweir */ 166cdf0e10cSrcweir void impl_activateNextControl_nothrow() const; 167cdf0e10cSrcweir }; 168cdf0e10cSrcweir 169cdf0e10cSrcweir //======================================================================== 170cdf0e10cSrcweir //= CommonBehaviourControl 171cdf0e10cSrcweir //======================================================================== 172cdf0e10cSrcweir /** implements a base class for <type scope="com::sun::star::inspection">XPropertyControl</type> 173cdf0e10cSrcweir implementations, which delegates the generic functionality of this interface to a 174cdf0e10cSrcweir <type>ControlHelper</type> member. 175cdf0e10cSrcweir 176cdf0e10cSrcweir @param CONTROL_INTERFACE 177cdf0e10cSrcweir an interface class which is derived from (or identical to) <type scope="com::sun::star::inspection">XPropertyControl</type> 178cdf0e10cSrcweir @param CONTROL_WINDOW 179cdf0e10cSrcweir a class which is derived from ControlWindow 180cdf0e10cSrcweir */ 181cdf0e10cSrcweir template < class CONTROL_INTERFACE, class CONTROL_WINDOW > 182cdf0e10cSrcweir class CommonBehaviourControl :public ::comphelper::OBaseMutex 183cdf0e10cSrcweir ,public ::cppu::WeakComponentImplHelper1< CONTROL_INTERFACE > 184cdf0e10cSrcweir ,public IModifyListener 185cdf0e10cSrcweir { 186cdf0e10cSrcweir protected: 187cdf0e10cSrcweir typedef CONTROL_INTERFACE InterfaceType; 188cdf0e10cSrcweir typedef CONTROL_WINDOW WindowType; 189cdf0e10cSrcweir 190cdf0e10cSrcweir typedef ::comphelper::OBaseMutex MutexBaseClass; 191cdf0e10cSrcweir typedef ::cppu::WeakComponentImplHelper1< CONTROL_INTERFACE > ComponentBaseClass; 192cdf0e10cSrcweir 193cdf0e10cSrcweir protected: 194cdf0e10cSrcweir ControlHelper m_aImplControl; 195cdf0e10cSrcweir 196cdf0e10cSrcweir protected: 197cdf0e10cSrcweir inline CommonBehaviourControl( sal_Int16 _nControlType, Window* _pParentWindow, WinBits _nWindowStyle, bool _bDoSetHandlers = true ); 198cdf0e10cSrcweir 199cdf0e10cSrcweir // XPropertyControl - delegated to ->m_aImplControl 200cdf0e10cSrcweir inline ::sal_Int16 SAL_CALL getControlType() throw (::com::sun::star::uno::RuntimeException); 201cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext > SAL_CALL getControlContext() throw (::com::sun::star::uno::RuntimeException); 202cdf0e10cSrcweir inline void SAL_CALL setControlContext( const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext >& _controlcontext ) throw (::com::sun::star::uno::RuntimeException); 203cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getControlWindow() throw (::com::sun::star::uno::RuntimeException); 204cdf0e10cSrcweir inline ::sal_Bool SAL_CALL isModified( ) throw (::com::sun::star::uno::RuntimeException); 205cdf0e10cSrcweir inline void SAL_CALL notifyModifiedValue( ) throw (::com::sun::star::uno::RuntimeException); 206cdf0e10cSrcweir 207cdf0e10cSrcweir // XComponent 208cdf0e10cSrcweir inline virtual void SAL_CALL disposing(); 209cdf0e10cSrcweir 210cdf0e10cSrcweir // IModifyListener 211cdf0e10cSrcweir inline virtual void modified(); 212cdf0e10cSrcweir 213cdf0e10cSrcweir /// returns a typed pointer to our control window getTypedControlWindow()214cdf0e10cSrcweir WindowType* getTypedControlWindow() { return static_cast< WindowType* > ( m_aImplControl.getVclControlWindow() ); } getTypedControlWindow() const215cdf0e10cSrcweir const WindowType* getTypedControlWindow() const { return static_cast< const WindowType* >( m_aImplControl.getVclControlWindow() ); } 216cdf0e10cSrcweir 217cdf0e10cSrcweir protected: 218cdf0e10cSrcweir /** checks whether the instance is already disposed 219cdf0e10cSrcweir @throws DisposedException 220cdf0e10cSrcweir if the instance is already disposed 221cdf0e10cSrcweir */ 222cdf0e10cSrcweir inline void impl_checkDisposed_throw(); 223cdf0e10cSrcweir }; 224cdf0e10cSrcweir 225cdf0e10cSrcweir //======================================================================== 226cdf0e10cSrcweir //= ControlWindow - implementation 227cdf0e10cSrcweir //======================================================================== 228cdf0e10cSrcweir //------------------------------------------------------------------------ 229cdf0e10cSrcweir template< class WINDOW > setControlHelper(ControlHelper & _rControlHelper)230cdf0e10cSrcweir inline void ControlWindow< WINDOW >::setControlHelper( ControlHelper& _rControlHelper ) 231cdf0e10cSrcweir { 232cdf0e10cSrcweir m_pHelper = &_rControlHelper; 233cdf0e10cSrcweir } 234cdf0e10cSrcweir 235cdf0e10cSrcweir //------------------------------------------------------------------------ 236cdf0e10cSrcweir template< class WINDOW > PreNotify(NotifyEvent & rNEvt)237cdf0e10cSrcweir inline long ControlWindow< WINDOW >::PreNotify( NotifyEvent& rNEvt ) 238cdf0e10cSrcweir { 239cdf0e10cSrcweir if ( m_pHelper && m_pHelper->handlePreNotify( rNEvt ) ) 240cdf0e10cSrcweir return 1; 241cdf0e10cSrcweir return WindowType::PreNotify( rNEvt ); 242cdf0e10cSrcweir } 243cdf0e10cSrcweir 244cdf0e10cSrcweir //======================================================================== 245cdf0e10cSrcweir //= CommonBehaviourControl - implementation 246cdf0e10cSrcweir //======================================================================== 247cdf0e10cSrcweir //------------------------------------------------------------------------ 248cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > CommonBehaviourControl(sal_Int16 _nControlType,Window * _pParentWindow,WinBits _nWindowStyle,bool _bDoSetHandlers)249cdf0e10cSrcweir inline CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::CommonBehaviourControl ( sal_Int16 _nControlType, Window* _pParentWindow, WinBits _nWindowStyle, bool _bDoSetHandlers ) 250cdf0e10cSrcweir :ComponentBaseClass( m_aMutex ) 251cdf0e10cSrcweir ,m_aImplControl( new WindowType( _pParentWindow, _nWindowStyle ), _nControlType, *this, this ) 252cdf0e10cSrcweir { 253cdf0e10cSrcweir WindowType* pControlWindow( getTypedControlWindow() ); 254cdf0e10cSrcweir pControlWindow->setControlHelper( m_aImplControl ); 255cdf0e10cSrcweir if ( _bDoSetHandlers ) 256cdf0e10cSrcweir { 257cdf0e10cSrcweir pControlWindow->SetModifyHdl( LINK( &m_aImplControl, ControlHelper, ModifiedHdl ) ); 258cdf0e10cSrcweir pControlWindow->SetGetFocusHdl( LINK( &m_aImplControl, ControlHelper, GetFocusHdl ) ); 259cdf0e10cSrcweir pControlWindow->SetLoseFocusHdl( LINK( &m_aImplControl, ControlHelper, LoseFocusHdl ) ); 260cdf0e10cSrcweir } 261cdf0e10cSrcweir m_aImplControl.autoSizeWindow(); 262cdf0e10cSrcweir } 263cdf0e10cSrcweir 264cdf0e10cSrcweir //-------------------------------------------------------------------- 265cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > getControlType()266cdf0e10cSrcweir inline ::sal_Int16 SAL_CALL CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::getControlType() throw (::com::sun::star::uno::RuntimeException) 267cdf0e10cSrcweir { 268cdf0e10cSrcweir return m_aImplControl.getControlType(); 269cdf0e10cSrcweir } 270cdf0e10cSrcweir 271cdf0e10cSrcweir //-------------------------------------------------------------------- 272cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > getControlContext()273cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext > SAL_CALL CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::getControlContext() throw (::com::sun::star::uno::RuntimeException) 274cdf0e10cSrcweir { 275cdf0e10cSrcweir return m_aImplControl.getControlContext(); 276cdf0e10cSrcweir } 277cdf0e10cSrcweir 278cdf0e10cSrcweir //-------------------------------------------------------------------- 279cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > setControlContext(const::com::sun::star::uno::Reference<::com::sun::star::inspection::XPropertyControlContext> & _controlcontext)280cdf0e10cSrcweir inline void SAL_CALL CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::setControlContext( const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext >& _controlcontext ) throw (::com::sun::star::uno::RuntimeException) 281cdf0e10cSrcweir { 282cdf0e10cSrcweir m_aImplControl.setControlContext( _controlcontext ); 283cdf0e10cSrcweir } 284cdf0e10cSrcweir 285cdf0e10cSrcweir //-------------------------------------------------------------------- 286cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > getControlWindow()287cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::getControlWindow() throw (::com::sun::star::uno::RuntimeException) 288cdf0e10cSrcweir { 289cdf0e10cSrcweir return m_aImplControl.getControlWindow(); 290cdf0e10cSrcweir } 291cdf0e10cSrcweir 292cdf0e10cSrcweir //-------------------------------------------------------------------- 293cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > isModified()294cdf0e10cSrcweir inline ::sal_Bool SAL_CALL CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::isModified( ) throw (::com::sun::star::uno::RuntimeException) 295cdf0e10cSrcweir { 296cdf0e10cSrcweir return m_aImplControl.isModified(); 297cdf0e10cSrcweir } 298cdf0e10cSrcweir 299cdf0e10cSrcweir //-------------------------------------------------------------------- 300cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > notifyModifiedValue()301cdf0e10cSrcweir inline void SAL_CALL CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::notifyModifiedValue( ) throw (::com::sun::star::uno::RuntimeException) 302cdf0e10cSrcweir { 303cdf0e10cSrcweir m_aImplControl.notifyModifiedValue(); 304cdf0e10cSrcweir } 305cdf0e10cSrcweir 306cdf0e10cSrcweir //-------------------------------------------------------------------- 307cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > disposing()308cdf0e10cSrcweir inline void SAL_CALL CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::disposing() 309cdf0e10cSrcweir { 310cdf0e10cSrcweir m_aImplControl.dispose(); 311cdf0e10cSrcweir } 312cdf0e10cSrcweir 313cdf0e10cSrcweir //-------------------------------------------------------------------- 314cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > modified()315cdf0e10cSrcweir inline void CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::modified() 316cdf0e10cSrcweir { 317cdf0e10cSrcweir m_aImplControl.setModified(); 318cdf0e10cSrcweir } 319cdf0e10cSrcweir 320cdf0e10cSrcweir //-------------------------------------------------------------------- 321cdf0e10cSrcweir template< class CONTROL_INTERFACE, class CONTROL_WINDOW > impl_checkDisposed_throw()322cdf0e10cSrcweir inline void CommonBehaviourControl< CONTROL_INTERFACE, CONTROL_WINDOW >::impl_checkDisposed_throw() 323cdf0e10cSrcweir { 324cdf0e10cSrcweir if ( ComponentBaseClass::rBHelper.bDisposed ) 325cdf0e10cSrcweir throw ::com::sun::star::lang::DisposedException( ::rtl::OUString(), *this ); 326cdf0e10cSrcweir } 327cdf0e10cSrcweir 328cdf0e10cSrcweir //............................................................................ 329cdf0e10cSrcweir } // namespace pcr 330cdf0e10cSrcweir //............................................................................ 331cdf0e10cSrcweir 332cdf0e10cSrcweir #endif // _EXTENSIONS_PROPCTRLR_COMMONCONTROL_HXX_ 333