From 3b0f6c51f3b323178777d531ed103f6fcde6e33e Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 10 Jul 2006 15:35:54 +0000 Subject: INTEGRATION: CWS vcl60 (1.4.286); FILE MERGED 2006/06/27 10:19:24 pl 1.4.286.2: RESYNC: (1.4-1.5); FILE MERGED 2006/06/07 15:17:36 pl 1.4.286.1: #134296# send downing message to consumers of display connection --- vcl/source/helper/xconnection.cxx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'vcl') diff --git a/vcl/source/helper/xconnection.cxx b/vcl/source/helper/xconnection.cxx index 59e0aa2284fc..bd6b64922afd 100644 --- a/vcl/source/helper/xconnection.cxx +++ b/vcl/source/helper/xconnection.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xconnection.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2006-06-19 19:34:27 $ + * last change: $Author: obo $ $Date: 2006-07-10 16:35:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -109,6 +109,15 @@ Any SAL_CALL DisplayConnection::getIdentifier() throw() return m_aAny; } +void DisplayConnection::dispatchDowningEvent() +{ + MutexGuard aGuard( m_aMutex ); + Any aEvent; + std::list< Reference< XEventHandler > > aLocalList( m_aHandlers ); + for( ::std::list< Reference< XEventHandler > >::const_iterator it = aLocalList.begin(); it != aLocalList.end(); ++it ) + (*it)->handleEvent( aEvent ); +} + bool DisplayConnection::dispatchEvent( void* pThis, void* pData, int nBytes ) { DisplayConnection* This = (DisplayConnection*)pThis; -- cgit