diff options
Diffstat (limited to 'cpp/demo/Freeze/library/RunParser.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/RunParser.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/cpp/demo/Freeze/library/RunParser.cpp b/cpp/demo/Freeze/library/RunParser.cpp deleted file mode 100644 index aef7eab8c86..00000000000 --- a/cpp/demo/Freeze/library/RunParser.cpp +++ /dev/null @@ -1,27 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2015 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 <Parser.h> - -using namespace std; -using namespace Demo; - -int -runParser(int, char* argv[], const Ice::CommunicatorPtr& communicator) -{ - LibraryPrx library = LibraryPrx::checkedCast(communicator->propertyToProxy("Library.Proxy")); - if(!library) - { - cerr << argv[0] << ": invalid proxy" << endl; - return EXIT_FAILURE; - } - - ParserPtr p = new Parser(library); - return p->parse(); -} |