00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #if !defined(AFX_NEUEVERBINDUNG_H__340B4134_84BE_11D5_A851_0050BA05DDC8__INCLUDED_)
00030 #define AFX_NEUEVERBINDUNG_H__340B4134_84BE_11D5_A851_0050BA05DDC8__INCLUDED_
00031
00032 #if _MSC_VER > 1000
00033 #pragma once
00034 #endif // _MSC_VER > 1000
00035
00036
00037
00039
00040
00041 class CDlgNeueVerbindung : public CDialog
00042 {
00043
00044 public:
00045 CDlgNeueVerbindung(CWnd* pParent = NULL);
00046
00047
00048
00049 enum { IDD = IDD_NEUE_VERBINDUNG };
00050 CEdit m_PasswordTextEdit;
00051 CButton m_NetzwerkButton;
00052 CButton m_ModemButton;
00053 CButton m_Ok;
00054 CButton m_Cancel;
00055 CString m_sPassword;
00056 CString m_IpAddress;
00057 int m_TcpIpPort;
00058 CString m_CallNumber;
00059 UINT m_TimeOut;
00060
00061
00062
00063 bool InitModem( void );
00064 bool ShowConnectDialog( const std::string & sFilename );
00065 void ConnectToGateway( unsigned int uiPort );
00066
00067
00068
00069 public:
00070 virtual void OnFinalRelease();
00071 protected:
00072 virtual void DoDataExchange(CDataExchange* pDX);
00073
00074
00075
00076 protected:
00077
00078
00079
00080 virtual BOOL OnInitDialog();
00081 afx_msg void OnModemButton();
00082 afx_msg void OnNetzwerkButton();
00083 afx_msg void OnKillfocusRufnummer();
00084 afx_msg void OnKillfocusIpaddresse();
00085 afx_msg void OnKillfocusPortnummer();
00086 afx_msg void OnKillfocusTimeout();
00087
00088 DECLARE_MESSAGE_MAP()
00089
00090
00091
00092
00093 DECLARE_DISPATCH_MAP()
00094 DECLARE_INTERFACE_MAP()
00095 };
00096
00097
00098
00099
00100 #endif