summaryrefslogtreecommitdiff
path: root/cppe/include/IceE/ObjectAdapter.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-08-05 07:54:40 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-08-05 07:54:40 +0000
commit9ad872312904cb29cbe8f031711a81cb55af63f0 (patch)
tree4710da697e429148bdf01f5830bfcdaa3354f34a /cppe/include/IceE/ObjectAdapter.h
parentcleanup. (diff)
downloadice-9ad872312904cb29cbe8f031711a81cb55af63f0.tar.bz2
ice-9ad872312904cb29cbe8f031711a81cb55af63f0.tar.xz
ice-9ad872312904cb29cbe8f031711a81cb55af63f0.zip
cleanup.
Diffstat (limited to 'cppe/include/IceE/ObjectAdapter.h')
-rwxr-xr-xcppe/include/IceE/ObjectAdapter.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/cppe/include/IceE/ObjectAdapter.h b/cppe/include/IceE/ObjectAdapter.h
index 306b402d0fb..2f93ecffdaf 100755
--- a/cppe/include/IceE/ObjectAdapter.h
+++ b/cppe/include/IceE/ObjectAdapter.h
@@ -19,15 +19,22 @@
#include <IceE/ProxyF.h>
#include <IceE/ObjectF.h>
#include <IceE/EndpointF.h>
-#include <IceE/RouterF.h>
-#include <IceE/LocatorF.h>
-#include <IceE/LocatorInfoF.h>
+
+#ifdef ICEE_HAS_ROUTER
+# include <IceE/RouterF.h>
+#endif
+
+#ifdef ICEE_HAS_LOCATOR
+# include <IceE/LocatorF.h>
+# include <IceE/LocatorInfoF.h>
+#endif
#include <IceE/Exception.h>
#include <IceE/Shared.h>
#include <IceE/RecMutex.h>
#include <IceE/Monitor.h>
#include <IceE/FacetMap.h>
+#include <IceE/Proxy.h>
#include <list>
namespace Ice
@@ -63,8 +70,12 @@ public:
ObjectPrx createDirectProxy(const Identity&) const;
ObjectPrx createReverseProxy(const Identity&) const;
+#ifdef ICEE_HAS_ROUTER
void addRouter(const RouterPrx&);
+#endif
+#ifdef ICEE_HAS_LOCATOR
void setLocator(const LocatorPrx&);
+#endif
bool isLocal(const ObjectPrx&) const;