diff options
Diffstat (limited to 'cpp/test/Ice/echo/BlobjectI.h')
-rw-r--r-- | cpp/test/Ice/echo/BlobjectI.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/cpp/test/Ice/echo/BlobjectI.h b/cpp/test/Ice/echo/BlobjectI.h index 187f532b7e4..fe8091c8f88 100644 --- a/cpp/test/Ice/echo/BlobjectI.h +++ b/cpp/test/Ice/echo/BlobjectI.h @@ -21,14 +21,24 @@ public: void startBatch(); void flushBatch(); +#ifdef ICE_CPP11_MAPPING + + virtual void ice_invokeAsync(std::vector<Ice::Byte>, + std::function<void(bool, std::vector<Ice::Byte>)>, + std::function<void(std::exception_ptr)>, + const Ice::Current&) override; + +#else virtual void ice_invoke_async(const Ice::AMD_Object_ice_invokePtr&, const std::vector<Ice::Byte>&, const Ice::Current&); +#endif private: bool _startBatch; - Ice::ObjectPrx _batchProxy; + Ice::ObjectPrxPtr _batchProxy; }; -typedef IceUtil::Handle<BlobjectI> BlobjectIPtr; + +ICE_DEFINE_PTR(BlobjectIPtr, BlobjectI); #endif |