diff options
Diffstat (limited to 'cppe/demo/IceE/MFC/client/HelloClientDlg.cpp')
-rw-r--r-- | cppe/demo/IceE/MFC/client/HelloClientDlg.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp b/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp index 75b78fd99c5..12364e3c4b7 100644 --- a/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp +++ b/cppe/demo/IceE/MFC/client/HelloClientDlg.cpp @@ -64,7 +64,7 @@ CHelloClientDlg::OnInitDialog() // // Disable flush button if built without batch support. // -#ifndef ICEE_HAS_BATCH +#ifndef ICE_HAS_BATCH (CButton*)GetDlgItem(IDC_FLUSH)->EnableWindow(FALSE); #endif @@ -132,7 +132,7 @@ CHelloClientDlg::OnSayHello() {
updateProxy();
_currentProxy->sayHello();
-#ifdef ICEE_HAS_BATCH +#ifdef ICE_HAS_BATCH if(_currentProxy->ice_isBatchOneway())
{
_status->SetWindowText(CString(" Queued batch request"));
@@ -152,7 +152,7 @@ CHelloClientDlg::OnSayHello() void
CHelloClientDlg::OnFlush()
{
-#ifdef ICEE_HAS_BATCH +#ifdef ICE_HAS_BATCH try
{
_communicator->flushBatchRequests();
@@ -172,7 +172,7 @@ CHelloClientDlg::OnShutdown() {
updateProxy();
_currentProxy->shutdown();
-#ifdef ICEE_HAS_BATCH +#ifdef ICE_HAS_BATCH if(_currentProxy->ice_isBatchOneway())
{
_status->SetWindowText(CString(" Queued shutdown request"));
@@ -209,7 +209,7 @@ CHelloClientDlg::updateProxy() proxy = _proxy->ice_oneway();
break;
case 2:
-#ifdef ICEE_HAS_BATCH +#ifdef ICE_HAS_BATCH proxy = _proxy->ice_batchOneway();
break;
#else |