Archived

This forum has been archived. Please start a new discussion on GitHub.

using Ice::ObjectPrx as a slice datatype

I want to do the following in my slice file:

void registerApp(Ice::ObjectPrx* proxy);

But I get the error `Ice::ObjectPrx' is not defined.

Which Ice file must I include in order to get this to work? Greping for ObjectPrx through *.ice in slice/Ice yields nothing.

Thanks.

Comments

  • marc
    marc Florida
    ObjectPrx is a programming language type, not a Slice type. Just use:
    void registerApp(Object* proxy);
    

    Object* maps to Ice::ObjectPrx in C++.