diff options
Diffstat (limited to 'cppe/demo/IceE/chat/ChatClientDlg.h')
-rw-r--r-- | cppe/demo/IceE/chat/ChatClientDlg.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/cppe/demo/IceE/chat/ChatClientDlg.h b/cppe/demo/IceE/chat/ChatClientDlg.h deleted file mode 100644 index 4be4a493e1c..00000000000 --- a/cppe/demo/IceE/chat/ChatClientDlg.h +++ /dev/null @@ -1,67 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef CHAT_CLIENT_DLG_H -#define CHAT_CLIENT_DLG_H - -#pragma once - -#include <LogI.h> -#include <Chat.h> -#include <PingThread.h> - -class CChatClientDlg : public CDialog -{ -public: - - CChatClientDlg(const Ice::CommunicatorPtr&, const LogIPtr&, CWnd* = NULL); - ~CChatClientDlg(); - - enum { IDD = IDD_CHATCLIENT_DIALOG }; - -protected: - - virtual void DoDataExchange(CDataExchange*); // DDX/DDV support -#ifndef _WIN32_WCE - virtual void OnOK(); -#endif - -protected: - - const Ice::CommunicatorPtr _communicator; - Ice::ObjectAdapterPtr _adapter; - Demo::ChatCallbackPrx _callback; - Demo::ChatSessionPrx _chat; - Glacier2::RouterPrx _router; - const LogIPtr _log; - - SessionPingThreadPtr _ping; - CEdit* _edit; - CEdit* _display; - HICON _hIcon; - - CString _user; - CString _password; - CString _host; - CString _port; - - void setDialogState(); - - // Generated message map functions - virtual BOOL OnInitDialog(); - virtual void OnCancel(); - afx_msg void OnPaint(); - afx_msg HCURSOR OnQueryDragIcon(); - afx_msg void OnLogin(); - afx_msg void OnSend(); - afx_msg LRESULT OnLog(WPARAM, LPARAM); - DECLARE_MESSAGE_MAP() -}; - -#endif |