summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox/hello/HelloI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloI.cpp')
-rw-r--r--cpp/demo/IceBox/hello/HelloI.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/cpp/demo/IceBox/hello/HelloI.cpp b/cpp/demo/IceBox/hello/HelloI.cpp
new file mode 100644
index 00000000000..a4f0c127628
--- /dev/null
+++ b/cpp/demo/IceBox/hello/HelloI.cpp
@@ -0,0 +1,19 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#include <Ice/Ice.h>
+#include <HelloI.h>
+
+using namespace std;
+
+void
+HelloI::sayHello(const Ice::Current&)
+{
+ cout << "Hello World!" << endl;
+}