diff options
author | Matthew Newhook <matthew@zeroc.com> | 2002-03-13 03:55:22 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2002-03-13 03:55:22 +0000 |
commit | 0ac325172b7608a2fa0c366a7665940ef14c562f (patch) | |
tree | 47e65b54c6e4e870a7b3e78f032bcb88f65f96be /cpp/demo/Freeze/library/Client.cpp | |
parent | bug fix (diff) | |
download | ice-0ac325172b7608a2fa0c366a7665940ef14c562f.tar.bz2 ice-0ac325172b7608a2fa0c366a7665940ef14c562f.tar.xz ice-0ac325172b7608a2fa0c366a7665940ef14c562f.zip |
Initial version of library demo.
Diffstat (limited to 'cpp/demo/Freeze/library/Client.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/Client.cpp | 33 |
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()); +} |