summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/MFC/client/HelloClient.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-06-03 19:32:20 -0700
committerMark Spruiell <mes@zeroc.com>2008-06-03 19:32:20 -0700
commit3d649bed4328992f41f567136025f58a019a5159 (patch)
tree470be901fbbfe5c6cd4269884412b0d36b48dc92 /cppe/demo/IceE/MFC/client/HelloClient.cpp
parentlocal interface fixes for slice2javae (diff)
downloadice-3d649bed4328992f41f567136025f58a019a5159.tar.bz2
ice-3d649bed4328992f41f567136025f58a019a5159.tar.xz
ice-3d649bed4328992f41f567136025f58a019a5159.zip
Various Ice-E fixes:
- Bug fix in slice2javae for local interfaces/classes - Added Ice.LocalObjectHolder - Reviewed Java/C++ demos and aligned with Ice - Source code clean up (removed tabs, etc.)
Diffstat (limited to 'cppe/demo/IceE/MFC/client/HelloClient.cpp')
-rw-r--r--cppe/demo/IceE/MFC/client/HelloClient.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/cppe/demo/IceE/MFC/client/HelloClient.cpp b/cppe/demo/IceE/MFC/client/HelloClient.cpp
index 03f55a05a5d..fbb96b11150 100644
--- a/cppe/demo/IceE/MFC/client/HelloClient.cpp
+++ b/cppe/demo/IceE/MFC/client/HelloClient.cpp
@@ -46,30 +46,30 @@ CHelloClientApp::InitInstance()
try
{
int argc = 0;
- Ice::InitializationData initData;
- initData.properties = Ice::createProperties();
- //
- // Set a default value for Hello.Proxy so that the demo will
- // run without a configuration file.
- //
- initData.properties->setProperty("Hello.Proxy", "hello:tcp -p 10000");
+ Ice::InitializationData initData;
+ initData.properties = Ice::createProperties();
+ //
+ // Set a default value for Hello.Proxy so that the demo will
+ // run without a configuration file.
+ //
+ initData.properties->setProperty("Hello.Proxy", "hello:tcp -p 10000");
- //
- // Now, load the configuration file if present. Under WinCE we
- // use "config.txt" since it can be edited with pocket word.
- //
+ //
+ // Now, load the configuration file if present. Under WinCE we
+ // use "config.txt" since it can be edited with pocket word.
+ //
#ifdef _WIN32_WCE
- string config = "config.txt";
+ string config = "config.txt";
#else
- string config = "config";
+ string config = "config";
#endif
- try
- {
- initData.properties->load(config);
- }
- catch(const Ice::FileException&)
- {
- }
+ try
+ {
+ initData.properties->load(config);
+ }
+ catch(const Ice::FileException&)
+ {
+ }
communicator = Ice::initialize(argc, 0, initData);
}