author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | 9938ea772d372ba955b7bc1f1c48a062c3a36f8a (patch) (side-by-side diff) | |
tree | a98185df944e3a763f9557aa74bc2837b343f048 /Retrier.cpp | |
download | pumpkin-9938ea772d372ba955b7bc1f1c48a062c3a36f8a.zip pumpkin-9938ea772d372ba955b7bc1f1c48a062c3a36f8a.tar.gz pumpkin-9938ea772d372ba955b7bc1f1c48a062c3a36f8a.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | Retrier.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
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);
+}
|