summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProxyFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ProxyFactory.h')
-rw-r--r--cpp/src/Ice/ProxyFactory.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/cpp/src/Ice/ProxyFactory.h b/cpp/src/Ice/ProxyFactory.h
index fca2986654c..1154d5e767a 100644
--- a/cpp/src/Ice/ProxyFactory.h
+++ b/cpp/src/Ice/ProxyFactory.h
@@ -12,6 +12,7 @@
#define ICE_PROXY_FACTORY_H
#include <IceUtil/Shared.h>
+#include <IceUtil/Mutex.h>
#include <Ice/ProxyFactoryF.h>
#include <Ice/InstanceF.h>
#include <Ice/ReferenceF.h>
@@ -26,12 +27,13 @@ class ProxyFactory : public ::IceUtil::Shared
{
public:
- ::Ice::ObjectPrx stringToProxy(const std::string&);
- std::string proxyToString(const ::Ice::ObjectPrx&);
+ ::Ice::ObjectPrx stringToProxy(const std::string&) const;
+ std::string proxyToString(const ::Ice::ObjectPrx&) const;
- ::Ice::ObjectPrx streamToProxy(BasicStream*);
- ::Ice::ObjectPrx referenceToProxy(const ReferencePtr&);
- void proxyToStream(const ::Ice::ObjectPrx&, BasicStream*);
+ ::Ice::ObjectPrx streamToProxy(BasicStream*) const;
+ void proxyToStream(const ::Ice::ObjectPrx&, BasicStream*) const;
+
+ ::Ice::ObjectPrx referenceToProxy(const ReferencePtr&) const;
private: