summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/MFC/client/HelloClientDlg.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-12-12 18:32:51 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-12-12 18:32:51 +0100
commit5e6ed83d0799af93fccd7447ace4c80bb68fe946 (patch)
tree174b28cf580405b213ae4da8fd96b2ca509bd9aa /cpp/demo/Ice/MFC/client/HelloClientDlg.h
parent3573 Build Freeze with DB-4.7 (diff)
downloadice-5e6ed83d0799af93fccd7447ace4c80bb68fe946.tar.bz2
ice-5e6ed83d0799af93fccd7447ace4c80bb68fe946.tar.xz
ice-5e6ed83d0799af93fccd7447ace4c80bb68fe946.zip
Use AMI for MFC demo, fixed bogus self-connect on Linux
Diffstat (limited to 'cpp/demo/Ice/MFC/client/HelloClientDlg.h')
-rw-r--r--cpp/demo/Ice/MFC/client/HelloClientDlg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/demo/Ice/MFC/client/HelloClientDlg.h b/cpp/demo/Ice/MFC/client/HelloClientDlg.h
index 4935e1b72da..4ef7b2835fb 100644
--- a/cpp/demo/Ice/MFC/client/HelloClientDlg.h
+++ b/cpp/demo/Ice/MFC/client/HelloClientDlg.h
@@ -18,15 +18,19 @@
class CHelloClientDlg : public CDialog
{
public:
+
CHelloClientDlg(const Ice::CommunicatorPtr&, CWnd* = NULL);
enum { IDD = IDD_HELLOCLIENT_DIALOG };
protected:
+
virtual void DoDataExchange(CDataExchange*); // DDX/DDV support
protected:
+
Ice::CommunicatorPtr _communicator;
+ CEdit* _host;
CComboBox* _mode;
CButton* _secure;
CButton* _timeout;
@@ -35,17 +39,24 @@ protected:
Demo::HelloPrx _proxy;
Demo::HelloPrx _currentProxy;
int _currentMode;
+ std::string _hostname;
bool _useSecure;
bool _useTimeout;
HICON _hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
+ afx_msg void OnClose();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSayHello();
afx_msg void OnFlush();
afx_msg void OnShutdown();
+ afx_msg LRESULT OnAMIException(WPARAM, LPARAM);
+ afx_msg LRESULT OnAMISayHelloResponse(WPARAM, LPARAM);
+ afx_msg LRESULT OnAMISayHelloSent(WPARAM, LPARAM);
+ afx_msg LRESULT OnAMIFlushBatchRequestsSent(WPARAM, LPARAM);
+ afx_msg LRESULT OnAMIShutdownSent(WPARAM, LPARAM);
DECLARE_MESSAGE_MAP()
void updateProxy();