author | Michael Krelin <hacker@klever.net> | 2012-12-08 21:19:17 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2012-12-11 21:59:29 (UTC) |
commit | 8808689fe340bec6e90ab13dd502292b0579cf1f (patch) (side-by-side diff) | |
tree | 45b7c863151341f687b74e40bffcbd7ab5468783 /PropsNetwork.cpp | |
parent | 6e7e413ca364d79673e523c09767c18e7cff1bec (diff) | |
download | pumpkin-8808689fe340bec6e90ab13dd502292b0579cf1f.zip pumpkin-8808689fe340bec6e90ab13dd502292b0579cf1f.tar.gz pumpkin-8808689fe340bec6e90ab13dd502292b0579cf1f.tar.bz2 |
initial osx portosx/0.0
Signed-off-by: Michael Krelin <hacker@klever.net>
-rwxr-xr-x | PropsNetwork.cpp | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/PropsNetwork.cpp b/PropsNetwork.cpp deleted file mode 100755 index 2dd5913..0000000 --- a/PropsNetwork.cpp +++ b/dev/null @@ -1,74 +0,0 @@ -// PropsNetwork.cpp : implementation file
-//
-
-#include "stdafx.h"
-#include "PumpKIN.h"
-#include "PropsNetwork.h"
-
-#ifdef _DEBUG
-#define new DEBUG_NEW
-#undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
-#endif
-
-/////////////////////////////////////////////////////////////////////////////
-// CPropsNetwork property page
-
-IMPLEMENT_DYNCREATE(CPropsNetwork, CPropertyPage)
-
-CPropsNetwork::CPropsNetwork() : CPropertyPage(CPropsNetwork::IDD)
-{
- //{{AFX_DATA_INIT(CPropsNetwork)
- m_ListenPort = 0;
- m_SpeakPort = 0;
- m_TimeOut = 0;
- m_BlockSize = 0;
- m_ListenAddress = _T("");
- //}}AFX_DATA_INIT
-}
-
-CPropsNetwork::~CPropsNetwork()
-{
-}
-
-void CPropsNetwork::DoDataExchange(CDataExchange* pDX)
-{
- CPropertyPage::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CPropsNetwork)
- DDX_Control(pDX, IDC_BSIZESPIN, m_BSizeSpinCtl);
- DDX_Control(pDX, IDC_TIMESPIN, m_TimeSpinCtl);
- DDX_Control(pDX, IDC_SPEAKSPIN, m_SpeakSpinCtl);
- DDX_Control(pDX, IDC_LISTENSPIN, m_ListenSpinCtl);
- DDX_Text(pDX, IDC_LISTENPORT, m_ListenPort);
- DDX_Text(pDX, IDC_SPEAKPORT, m_SpeakPort);
- DDX_Text(pDX, IDC_TIMEOUT, m_TimeOut);
- DDV_MinMaxUInt(pDX, m_TimeOut, 5, 60);
- DDX_Text(pDX, IDC_BLOCKSIZE, m_BlockSize);
- DDX_Text(pDX, IDC_LISTENADDRESS, m_ListenAddress);
- DDV_MaxChars(pDX, m_ListenAddress, 15);
- //}}AFX_DATA_MAP
-}
-
-
-BEGIN_MESSAGE_MAP(CPropsNetwork, CPropertyPage)
- //{{AFX_MSG_MAP(CPropsNetwork)
- //}}AFX_MSG_MAP
-END_MESSAGE_MAP()
-
-/////////////////////////////////////////////////////////////////////////////
-// CPropsNetwork message handlers
-
-BOOL CPropsNetwork::OnInitDialog()
-{
- CPropertyPage::OnInitDialog();
-
- m_ListenSpinCtl.SetRange(0,32767);
- m_SpeakSpinCtl.SetRange(0,32767);
- m_TimeSpinCtl.SetRange(5,60);
- m_BSizeSpinCtl.SetRange(512,16384);
-UDACCEL uda = {0,512};
- m_BSizeSpinCtl.SetAccel(1,&uda);
-
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
-}
|