1 // 2 // Copyright (c) ZeroC, Inc. All rights reserved. 3 // 4 5 #import <objc/Ice/Proxy.h> 6 7 #include <Ice/Proxy.h> 8 9 @interface ICEAsyncResult : NSObject<ICEAsyncResult> 10 { 11 @private 12 void* asyncResult_; 13 NSString* operation_; 14 id<ICEObjectPrx> proxy_; 15 } 16 -(ICEAsyncResult*)initWithAsyncResult:(const Ice::AsyncResultPtr&)arg operation:(NSString*)op proxy:(id<ICEObjectPrx>)p; 17 -(Ice::AsyncResult*) asyncResult; 18 +(ICEAsyncResult*)asyncResultWithAsyncResult:(const Ice::AsyncResultPtr&)arg; 19 +(ICEAsyncResult*)asyncResultWithAsyncResult:(const Ice::AsyncResultPtr&)arg operation:(NSString*)op proxy:(id<ICEObjectPrx>)p; 20 -(NSString*)operation; 21 @end 22 23 @interface ICEObjectPrx () 24 -(ICEObjectPrx*)iceInitWithObjectPrx:(const Ice::ObjectPrx&)arg; 25 -(IceProxy::Ice::Object*) iceObjectPrx; 26 +(ICEObjectPrx*)iceObjectPrxWithObjectPrx:(const Ice::ObjectPrx&)arg; 27 @end 28