Rony G. Flatscher wrote:
... cut ...
Just curious: how do you write down in ooRexx calls to method bar on
an object that implements the two interfaces
module m1 { interface XFoo { void bar(); }; };
module m2 { interface XFoo { void baz(); }; };
Hmm, good question.
Could you please hint how you would do that in Java (pseudo-code
suffices, ie. without casting)? Reason being, that whatever can be done
via Java can be done in ooRexx (using a very relaxed, almost pseudo-code
like syntax).
In Java:
import m1.XFoo; // the key to using short, unambiguous "XFoo" later on
...
Object o = ...;
XFoo foo = (XFoo) UnoRuntime.queryInterface(XFoo.class, o);
foo.bar();
-Stephan
Regards,
---rony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]