Hi Thomas,
> What about an UNO interface that returns an empty reference if there is
> no problem?
Interesting. This would be cheap (in success case), still allow
polymorphism, not unnecessarily burden the listener implementor ... I
like it :)
So, what about
module com::sun::star {
module util {
interface XVeto
{
[attribute, readonly] string Description;
[attribute, readonly] XInterface Context;
[attribute, readonly] any Details;
};
}
module container {
interface XContainerApproveListener
{
XVeto approveInsertElement( [in] ContainerEvent Event )
raises ( WrappedTargetException );
XVeto approveReplaceElement( [in] ContainerEvent Event )
raises ( WrappedTargetException );
XVeto approveRemoveElement( [in] ContainerEvent Event )
raises ( WrappedTargetException );
};
}
}
?
Ciao
Frank
--
- Frank Schönheit, Software Engineer [EMAIL PROTECTED] -
- Sun Microsystems http://www.sun.com/staroffice -
- OpenOffice.org Database http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]