16 #ifndef __Ice_LocatorF_h__
17 #define __Ice_LocatorF_h__
32 #ifndef ICE_IGNORE_VERSION
33 # if ICE_INT_VERSION / 100 != 307
34 # error Ice version mismatch!
36 # if ICE_INT_VERSION % 100 >= 50
37 # error Beta header file detected
39 # if ICE_INT_VERSION % 100 < 10
40 # error Ice patch level mismatch!
45 # if defined(ICE_STATIC_LIBS)
47 # elif defined(ICE_API_EXPORTS)
48 # define ICE_API ICE_DECLSPEC_EXPORT
50 # define ICE_API ICE_DECLSPEC_IMPORT
54 #ifdef ICE_CPP11_MAPPING // C++11 mapping
61 class LocatorRegistry;
62 class LocatorRegistryPrx;
77 using LocatorPtr = ::std::shared_ptr<Locator>;
78 using LocatorPrxPtr = ::std::shared_ptr<LocatorPrx>;
80 using LocatorRegistryPtr = ::std::shared_ptr<LocatorRegistry>;
81 using LocatorRegistryPrxPtr = ::std::shared_ptr<LocatorRegistryPrx>;
86 #else // C++98 mapping
97 ICE_API ::IceProxy::Ice::Object* upCast(Locator*);
100 class LocatorRegistry;
103 ICE_API ::IceProxy::Ice::Object* upCast(LocatorRegistry*);
117 typedef ::IceInternal::Handle< Locator> LocatorPtr;
118 typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::Locator> LocatorPrx;
119 typedef LocatorPrx LocatorPrxPtr;
121 ICE_API void _icePatchObjectPtr(LocatorPtr&,
const ObjectPtr&);
124 class LocatorRegistry;
128 typedef ::IceInternal::Handle< LocatorRegistry> LocatorRegistryPtr;
129 typedef ::IceInternal::ProxyHandle< ::IceProxy::Ice::LocatorRegistry> LocatorRegistryPrx;
130 typedef LocatorRegistryPrx LocatorRegistryPrxPtr;
132 ICE_API void _icePatchObjectPtr(LocatorRegistryPtr&,
const ObjectPtr&);