From kde-devel Wed Aug 04 11:52:26 1999 From: weis Date: Wed, 04 Aug 1999 11:52:26 +0000 To: kde-devel Subject: Re: Another quick CORBA q. X-MARC-Message: https://marc.info/?l=kde-devel&m=93376729304399 Hi, This is impossible. The interface must be described entirely in IDL. Unfortunately the IDL generates shitty APIs. If someone has time we should think about a real language mapping. There might even be chances to present it to the OMG to show that the current one sucks entirely. Bye Torben On Tue, 3 Aug 1999, Rik Hemsley wrote: > Thanks to those who answered the previous message (CORBA typedef sequence) > > Next question: > > I want to do something like this: > > interface MyInterface > { > void addObject(in MyObject obj); > MyObject object(in string key); > }; > > Is this possible without defining the interface for MyObject ? > > I'd really like to be able to keep my existing code (for MyObject and > all associated types) rather than having to switch all of it to use STL and > CORBA types. > > I can't find an idl in mico's demos that does this. > > If I could just pass something like a void * and cast it I'd be happy :) > > TIA > Rik > > -- > KDE - Colour Outside The Lines - http://www.kde.org > >