[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Another quick CORBA q.
From: Simon Hausmann <tronical () gmx ! net>
Date: 1999-08-03 13:51:30
[Download RAW message or body]
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 ?
Not sure I really understand your problem, but perhaps this helps:
interface MyObject; (as forward reference)
interface MyInterface
{
void doSomething( in MyObject obj );
}
But perhaps you just want to use the generic Object type:
interface MyInterface
{
void addObject( in Object foo );
Object blah( in string key );
}
Bye,
Simon
> 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
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic