#include <multiplexer.hxx>
#include <osl/diagnose.h>
#include <cppuhelper/queryinterface.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/awt/XTopWindow.hpp>
Go to the source code of this file.
|
#define | MULTIPLEX(INTERFACE, METHOD, EVENTTYP, EVENT) |
|
◆ MULTIPLEX
#define MULTIPLEX |
( |
|
INTERFACE, |
|
|
|
METHOD, |
|
|
|
EVENTTYP, |
|
|
|
EVENT |
|
) |
| |
Value: \
\
\
if( !pContainer ) \
return; \
comphelper::OInterfaceIteratorHelper2 aIterator( *pContainer ); \
EVENTTYP aLocalEvent = EVENT; \
\
\
\
if( !aLocalEvent.Source ) \
return; \
if( !aIterator.hasMoreElements() ) \
return; \
INTERFACE * pListener = static_cast<INTERFACE *>(aIterator.next()); \
try \
{ \
pListener->METHOD( aLocalEvent ); \
} \
{ \
\
}
Definition at line 38 of file multiplexer.cxx.