Cedric Bosdonnat wrote:
Hi Stephan and Laurent,
Laurent Godard a écrit :
The component, written in C++ obviously implements the getName() and
setName() for this interface. So when using it in basic both calls shoud
work:
That you implement an interface attribute with two functions
(unfortunately called getAAA and setAAA) in C++ is an "implementation
detail" of the C++ UNO language binding. It does not affect how
interface attributes are used in other UNO language bindings (and in
the Basic UNO lanuage binding, interface attributes are accessed via x
= y.AAA and y.AAA = x, as you already mention below).
Indeed, your right, however, I still wonder why there is a difference
with my xxx.setAAA and y.AAA...
Sorry, I lost you here. What exactly is it that you still wonder about?
-Stephan
then, what to do to have also at getAAA and setAAA in OOoBasic as shown
by the regular API ?
declare them at idl level ?
I don't think so... otherwise you will get many useless methods in your
implementation...
Cedric
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]