1 // **********************************************************************
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
8 // **********************************************************************
15 class PhoneBookClient
: public Ice::Application
21 virtual int run(int argc
, char* argv
[]);
25 main(int argc
, char* argv
[])
28 return app
.main(argc
, argv
, "config.client");
31 PhoneBookClient::PhoneBookClient() :
33 // Since this is an interactive demo we don't want any signal
36 Ice::Application(Ice::NoSignalHandling
)
41 PhoneBookClient::run(int argc
, char* argv
[])
43 int runParser(int, char*[], const Ice::CommunicatorPtr
&);
44 return runParser(argc
, argv
, communicator());