summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/MFC/client/HelloClientDlg.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-12-09 12:39:05 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-12-09 12:39:05 +0100
commit25cc004a2a31034943de354e2c4939bc56f8ee08 (patch)
tree05bfa0be8cafa069a5f9c39cd9be5c2f08d2de66 /cpp/demo/Ice/MFC/client/HelloClientDlg.h
parentFix for commit for commit 7194746673432cb47f3fd1227ff163cbfe09589e (diff)
downloadice-25cc004a2a31034943de354e2c4939bc56f8ee08.tar.bz2
ice-25cc004a2a31034943de354e2c4939bc56f8ee08.tar.xz
ice-25cc004a2a31034943de354e2c4939bc56f8ee08.zip
Fixed bug 4428 - Fixed MFC client to use Ice::Dispatcher
Diffstat (limited to 'cpp/demo/Ice/MFC/client/HelloClientDlg.h')
-rw-r--r--cpp/demo/Ice/MFC/client/HelloClientDlg.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/cpp/demo/Ice/MFC/client/HelloClientDlg.h b/cpp/demo/Ice/MFC/client/HelloClientDlg.h
index f61ffbe6bb0..46309a81968 100644
--- a/cpp/demo/Ice/MFC/client/HelloClientDlg.h
+++ b/cpp/demo/Ice/MFC/client/HelloClientDlg.h
@@ -19,17 +19,25 @@ class CHelloClientDlg : public CDialog
{
public:
- CHelloClientDlg(const Ice::CommunicatorPtr&, CWnd* = NULL);
+ CHelloClientDlg(CWnd* = NULL);
enum { IDD = IDD_HELLOCLIENT_DIALOG };
afx_msg void OnCbnSelchangeMode();
+ void exception(const Ice::Exception&);
+ void response();;
+ void sent();
+ void flushed();
+
protected:
virtual void DoDataExchange(CDataExchange*); // DDX/DDV support
Ice::CommunicatorPtr _communicator;
+ Demo::Callback_Hello_sayHelloPtr _sayHelloCallback;
+ Demo::Callback_Hello_shutdownPtr _shutdownCallback;
+ Ice::Callback_Communicator_flushBatchRequestsPtr _flushCallback;
CEdit* _host;
CComboBox* _mode;
CSliderCtrl* _timeout;
@@ -49,10 +57,7 @@ protected:
afx_msg void OnSayHello();
afx_msg void OnFlush();
afx_msg void OnShutdown();
- afx_msg LRESULT OnAMISent(WPARAM, LPARAM);
- afx_msg LRESULT OnAMIResponse(WPARAM, LPARAM);
- afx_msg LRESULT OnAMIException(WPARAM, LPARAM);
- afx_msg LRESULT OnAMIFlush(WPARAM, LPARAM);
+ afx_msg LRESULT OnAMICallback(WPARAM, LPARAM);
DECLARE_MESSAGE_MAP()
private: