summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/MFC/client/HelloClientDlg.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-01-02 15:16:46 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-01-02 15:16:46 -0330
commit51ee7620f82e4232baf587ee052001751c23e481 (patch)
tree08baaf92bddeca3f33acfe1bb38620606de7a99b /cpp/demo/Ice/MFC/client/HelloClientDlg.h
parentThe server now accepts anonymous clients. (diff)
downloadice-51ee7620f82e4232baf587ee052001751c23e481.tar.bz2
ice-51ee7620f82e4232baf587ee052001751c23e481.tar.xz
ice-51ee7620f82e4232baf587ee052001751c23e481.zip
Merged with R3_3_branch
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();