summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/Client.cpp')
-rw-r--r--cpp/demo/Freeze/library/Client.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/demo/Freeze/library/Client.cpp b/cpp/demo/Freeze/library/Client.cpp
new file mode 100644
index 00000000000..4f312b9a5dd
--- /dev/null
+++ b/cpp/demo/Freeze/library/Client.cpp
@@ -0,0 +1,33 @@
+// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#include <Ice/Application.h>
+#include <Parser.h>
+
+using namespace std;
+
+class LibraryClient : public Ice::Application
+{
+ virtual int run(int argc, char* argv[]);
+};
+
+int
+main(int argc, char* argv[])
+{
+ LibraryClient app;
+ return app.main(argc, argv, "config");
+}
+
+int
+LibraryClient::run(int argc, char* argv[])
+{
+ int runParser(int, char*[], const Ice::CommunicatorPtr&);
+ return runParser(argc, argv, communicator());
+}