summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/nested/Server.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-09-09 07:05:32 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-09-09 07:05:32 +0000
commitd9e37798719846dd6ea7f25fcc4eb053db2c2efe (patch)
tree04dc91fdacae69db9adb3ba8c8d0872a7243662d /cpp/demo/Ice/nested/Server.cpp
parentFirst saving support (diff)
downloadice-d9e37798719846dd6ea7f25fcc4eb053db2c2efe.tar.bz2
ice-d9e37798719846dd6ea7f25fcc4eb053db2c2efe.tar.xz
ice-d9e37798719846dd6ea7f25fcc4eb053db2c2efe.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=335
Diffstat (limited to 'cpp/demo/Ice/nested/Server.cpp')
-rw-r--r--cpp/demo/Ice/nested/Server.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/demo/Ice/nested/Server.cpp b/cpp/demo/Ice/nested/Server.cpp
index 39cbfbd2faa..21c90e32baf 100644
--- a/cpp/demo/Ice/nested/Server.cpp
+++ b/cpp/demo/Ice/nested/Server.cpp
@@ -7,14 +7,13 @@
//
// **********************************************************************
-#include <Ice/Application.h>
#include <NestedI.h>
+#include <Ice/Application.h>
using namespace std;
-using namespace Ice;
using namespace Demo;
-class NestedServer : public Application
+class NestedServer : public Ice::Application
{
public:
@@ -31,7 +30,7 @@ main(int argc, char* argv[])
int
NestedServer::run(int argc, char* argv[])
{
- ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Nested.Server");
+ Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Nested.Server");
NestedPrx self = NestedPrx::uncheckedCast(adapter->createProxy(Ice::stringToIdentity("nestedServer")));
adapter->add(new NestedI(self), Ice::stringToIdentity("nestedServer"));
adapter->activate();