annotate src/win32/GDBConnection.h @ 8:08a8e09ca414

add files required by automake
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:54:39 -0600
parents f9f4f1b99eed
children
rev   line source
rlm@1 1 #if !defined(AFX_GDBCONNECTION_H__DD73B298_E1A7_4A46_B282_E7A2B37FC9D9__INCLUDED_)
rlm@1 2 #define AFX_GDBCONNECTION_H__DD73B298_E1A7_4A46_B282_E7A2B37FC9D9__INCLUDED_
rlm@1 3
rlm@1 4 #if _MSC_VER > 1000
rlm@1 5 #pragma once
rlm@1 6 #endif // _MSC_VER > 1000
rlm@1 7 // -*- C++ -*-
rlm@1 8 // GDBConnection.h : header file
rlm@1 9 //
rlm@1 10
rlm@1 11 #include <winsock.h>
rlm@1 12
rlm@1 13 /////////////////////////////////////////////////////////////////////////////
rlm@1 14 // GDBPortDlg dialog
rlm@1 15
rlm@1 16 class GDBPortDlg : public CDialog
rlm@1 17 {
rlm@1 18 int port;
rlm@1 19 SOCKET sock;
rlm@1 20 // Construction
rlm@1 21 public:
rlm@1 22 SOCKET getSocket();
rlm@1 23 int getPort();
rlm@1 24 GDBPortDlg(CWnd*pParent = NULL); // standard constructor
rlm@1 25
rlm@1 26 // Dialog Data
rlm@1 27 //{{AFX_DATA(GDBPortDlg)
rlm@1 28 enum { IDD = IDD_GDB_PORT };
rlm@1 29 CEdit m_port;
rlm@1 30 //}}AFX_DATA
rlm@1 31
rlm@1 32 // Overrides
rlm@1 33 // ClassWizard generated virtual function overrides
rlm@1 34 //{{AFX_VIRTUAL(GDBPortDlg)
rlm@1 35 protected:
rlm@1 36 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support
rlm@1 37 //}}AFX_VIRTUAL
rlm@1 38
rlm@1 39 // Implementation
rlm@1 40 protected:
rlm@1 41 // Generated message map functions
rlm@1 42 //{{AFX_MSG(GDBPortDlg)
rlm@1 43 virtual BOOL OnInitDialog();
rlm@1 44 afx_msg void OnOk();
rlm@1 45 afx_msg void OnCancel();
rlm@1 46 afx_msg void OnClose();
rlm@1 47 //}}AFX_MSG
rlm@1 48 DECLARE_MESSAGE_MAP()
rlm@1 49 };
rlm@1 50
rlm@1 51 /////////////////////////////////////////////////////////////////////////////
rlm@1 52 // GDBWaitingDlg dialog
rlm@1 53
rlm@1 54 class GDBWaitingDlg : public CDialog
rlm@1 55 {
rlm@1 56 int port;
rlm@1 57 SOCKET listenSocket;
rlm@1 58 SOCKET sock;
rlm@1 59 // Construction
rlm@1 60 public:
rlm@1 61 SOCKET getSocket();
rlm@1 62 SOCKET getListenSocket();
rlm@1 63 afx_msg LRESULT OnSocketAccept(WPARAM wParam, LPARAM lParam);
rlm@1 64 GDBWaitingDlg(SOCKET s, int p, CWnd*pParent = NULL); // standard constructor
rlm@1 65
rlm@1 66 // Dialog Data
rlm@1 67 //{{AFX_DATA(GDBWaitingDlg)
rlm@1 68 enum { IDD = IDD_GDB_WAITING };
rlm@1 69 CStatic m_port;
rlm@1 70 //}}AFX_DATA
rlm@1 71
rlm@1 72 // Overrides
rlm@1 73 // ClassWizard generated virtual function overrides
rlm@1 74 //{{AFX_VIRTUAL(GDBWaitingDlg)
rlm@1 75 protected:
rlm@1 76 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support
rlm@1 77 //}}AFX_VIRTUAL
rlm@1 78
rlm@1 79 // Implementation
rlm@1 80 protected:
rlm@1 81 // Generated message map functions
rlm@1 82 //{{AFX_MSG(GDBWaitingDlg)
rlm@1 83 virtual BOOL OnInitDialog();
rlm@1 84 afx_msg void OnCancel();
rlm@1 85 afx_msg void OnClose();
rlm@1 86 //}}AFX_MSG
rlm@1 87 DECLARE_MESSAGE_MAP()
rlm@1 88 };
rlm@1 89 //{{AFX_INSERT_LOCATION}}
rlm@1 90 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
rlm@1 91
rlm@1 92 #endif // !defined(AFX_GDBCONNECTION_H__DD73B298_E1A7_4A46_B282_E7A2B37FC9D9__INCLUDED_)