diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-10 15:35:54 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-10 15:35:54 +0000 |
commit | 3b0f6c51f3b323178777d531ed103f6fcde6e33e (patch) | |
tree | 0ee08cec3099645c69264d488004373cb9570511 /vcl | |
parent | ec6af5ed22bdb75785cff89312dfc3260dd80efe (diff) |
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
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/helper/xconnection.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
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; |