// ********************************************************************** // // Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** #import #include // // Forward declarations. // @class ICECurrent; @class ICEInputStream; @class ICEOutputStream; namespace IceObjC { class ServantWrapper : virtual public Ice::Object { public: virtual ~ServantWrapper() { } virtual ICEObject* getServant() = 0; }; typedef IceUtil::Handle ServantWrapperPtr; }; @interface ICEObject (ICEInternal) -(Ice::Object*) iceObject; @end @interface ICEServantWrapper : ICEObject { Ice::Object* object_; } +(id) servantWrapperWithCxxObject:(Ice::Object*)arg; @end