Thomas Lange wrote:
Hi Frank,

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 :)
Yes, +1

module com::sun::star {

module util {

  interface XVeto
  {
    [attribute, readonly] string Description;
    [attribute, readonly] XInterface Context;
    [attribute, readonly] any Details;
  };

}

As far as I was told once a struct (simple properties) can not be part
of an UNO interface. (I never tried though.)
Thus you would need one or more functions to retrieve the data/struct.

UNO structs are not involved in the above. UNO interface attributes were deprecated for some period (as they can be modeled with explicit getter and setter methods just as well) but have been de-deprecated again (as they are somewhat useful when modeling old-style service concepts with interfaces).

-Stephan

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to