From 9938ea772d372ba955b7bc1f1c48a062c3a36f8a Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 05 Jul 2004 01:53:09 +0000 Subject: initial commit into svn repository git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'Retrier.cpp') diff --git a/Retrier.cpp b/Retrier.cpp new file mode 100644 index 0000000..15b9fc3 --- a/dev/null +++ b/Retrier.cpp @@ -0,0 +1,46 @@ +// Retrier.cpp : implementation file +// + +#include "stdafx.h" +#include "PumpKIN.h" +#include "Retrier.h" + +#include "PumpKINDlg.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + +///////////////////////////////////////////////////////////////////////////// +// CRetrier + +CRetrier::CRetrier(CPumpKINDlg *daddy) + : m_Daddy(daddy) +{ +} + +CRetrier::~CRetrier() +{ +} + + +BEGIN_MESSAGE_MAP(CRetrier, CWnd) + //{{AFX_MSG_MAP(CRetrier) + ON_WM_TIMER() + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + + +///////////////////////////////////////////////////////////////////////////// +// CRetrier message handlers + +void CRetrier::OnTimer(UINT nIDEvent) +{ + ASSERT(m_Daddy); +CXferSocket *socket; + if(m_Daddy->m_Xfers.Lookup(nIDEvent,socket)) + socket->OnRetry(); + CWnd::OnTimer(nIDEvent); +} -- cgit v0.9.0.2