summaryrefslogtreecommitdiffabout
path: root/PumpKINDlg.h
Unidiff
Diffstat (limited to 'PumpKINDlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--PumpKINDlg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/PumpKINDlg.h b/PumpKINDlg.h
index b247c56..c5469f1 100644
--- a/PumpKINDlg.h
+++ b/PumpKINDlg.h
@@ -354,32 +354,39 @@ public:
354 354
355 DECLARE_DYNAMIC(CRRQSocket) 355 DECLARE_DYNAMIC(CRRQSocket)
356}; 356};
357 357
358 typedef CMap<SOCKET,SOCKET,CXferSocket*,CXferSocket*>CTIDMap; 358 typedef CMap<SOCKET,SOCKET,CXferSocket*,CXferSocket*>CTIDMap;
359typedef CMap<CTime*,CTime*,CTime*,CTime*> CTimeMap; 359typedef CMap<CTime*,CTime*,CTime*,CTime*> CTimeMap;
360 360
361///////////////////////////////////////////////////////////////////////////// 361/////////////////////////////////////////////////////////////////////////////
362// CPumpKINDlg dialog 362// CPumpKINDlg dialog
363 363
364class CTrayer; 364class CTrayer;
365class CRetrier; 365class CRetrier;
366class CPumpKINDlg : public CDialog 366class CPumpKINDlg : public CDialog
367{ 367{
368// Construction 368// Construction
369public: 369public:
370 void AdjustButton(CWnd& w,CRect& wrc);
371 void RecalcLayout(int,int);
372 CSize m_MinSize;
373 UINT m_bottomGapLog;
374 UINT m_bottomGapListen;
375 UINT m_rightGapList;
376 UINT m_rightGapButtons;
370 CString m_lastlogerr; 377 CString m_lastlogerr;
371 void LogLine(LPCTSTR str); 378 void LogLine(LPCTSTR str);
372 CString m_LogFile; 379 CString m_LogFile;
373 BOOL m_bListen; 380 BOOL m_bListen;
374 acl_rules_t m_aclRules; 381 acl_rules_t m_aclRules;
375 CString m_bnwRequest; 382 CString m_bnwRequest;
376 CString m_bnwSuccess; 383 CString m_bnwSuccess;
377 CString m_bnwAbort; 384 CString m_bnwAbort;
378 CBellsNWhistles m_bnw; 385 CBellsNWhistles m_bnw;
379 CTrayer *m_Trayer; 386 CTrayer *m_Trayer;
380 CTimeSpan m_RetryTimeOut; 387 CTimeSpan m_RetryTimeOut;
381 virtual ~CPumpKINDlg(); 388 virtual ~CPumpKINDlg();
382 CRetrier* m_Retrier; 389 CRetrier* m_Retrier;
383 virtual BOOL PreTranslateMessage(MSG* pMsg); 390 virtual BOOL PreTranslateMessage(MSG* pMsg);
384 BOOL m_bShown; 391 BOOL m_bShown;
385 BOOL m_bExiting; 392 BOOL m_bExiting;
@@ -417,32 +424,36 @@ public:
417 wrqDenyAll=acl_rule::wrqDeny, 424 wrqDenyAll=acl_rule::wrqDeny,
418 wrqFallback=acl_rule::wrqNone, 425 wrqFallback=acl_rule::wrqNone,
419 wrqGrant=wrqTakeAll,wrqDeny=wrqDenyAll, wrqPrompt=wrqAlwaysConfirm 426 wrqGrant=wrqTakeAll,wrqDeny=wrqDenyAll, wrqPrompt=wrqAlwaysConfirm
420 }; 427 };
421 UINT m_RRQMode; 428 UINT m_RRQMode;
422 UINT m_WRQMode; 429 UINT m_WRQMode;
423 BOOL m_bTFTPSubdirs; 430 BOOL m_bTFTPSubdirs;
424 CString m_TFTPRoot; 431 CString m_TFTPRoot;
425 UINT m_ListenPort; 432 UINT m_ListenPort;
426 UINT m_BlockSize; 433 UINT m_BlockSize;
427 CListenSocket m_Listener; 434 CListenSocket m_Listener;
428 CPumpKINDlg(CWnd* pParent = NULL);// standard constructor 435 CPumpKINDlg(CWnd* pParent = NULL);// standard constructor
429 436
430// Dialog Data 437// Dialog Data
431 //{{AFX_DATA(CPumpKINDlg) 438 //{{AFX_DATA(CPumpKINDlg)
432 enum { IDD = IDD_PUMPKIN_DIALOG }; 439 enum { IDD = IDD_PUMPKIN_DIALOG };
440 CButtonm_HelpCtl;
441 CButtonm_PutCtl;
442 CButtonm_GetCtl;
443 CButtonm_ExitCtl;
433 CButtonm_ListenCtl; 444 CButtonm_ListenCtl;
434 CButtonm_AbortCtl; 445 CButtonm_AbortCtl;
435 CButtonm_OptionsCtl; 446 CButtonm_OptionsCtl;
436 CListBoxm_Log; 447 CListBoxm_Log;
437 CListCtrlm_List; 448 CListCtrlm_List;
438 //}}AFX_DATA 449 //}}AFX_DATA
439 450
440 // ClassWizard generated virtual function overrides 451 // ClassWizard generated virtual function overrides
441 //{{AFX_VIRTUAL(CPumpKINDlg) 452 //{{AFX_VIRTUAL(CPumpKINDlg)
442 protected: 453 protected:
443 virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV support 454 virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV support
444 //}}AFX_VIRTUAL 455 //}}AFX_VIRTUAL
445 456
446// Implementation 457// Implementation
447protected: 458protected:
448 CToolTipCtrl m_tooltip; 459 CToolTipCtrl m_tooltip;
@@ -469,19 +480,21 @@ protected:
469 afx_msg void OnClose(); 480 afx_msg void OnClose();
470 afx_msg void OnTrayShowpumpkinwindow(); 481 afx_msg void OnTrayShowpumpkinwindow();
471 afx_msg void OnTrayListen(); 482 afx_msg void OnTrayListen();
472 afx_msg void OnTrayExit(); 483 afx_msg void OnTrayExit();
473 afx_msg void OnTrayAboutpumpkin(); 484 afx_msg void OnTrayAboutpumpkin();
474 afx_msg void OnTrayFetchfile(); 485 afx_msg void OnTrayFetchfile();
475 afx_msg void OnTrayHelp(); 486 afx_msg void OnTrayHelp();
476 afx_msg void OnTrayOptions(); 487 afx_msg void OnTrayOptions();
477 afx_msg void OnTraySendfile(); 488 afx_msg void OnTraySendfile();
478 afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos); 489 afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
479 afx_msg void OnSelchangeLog(); 490 afx_msg void OnSelchangeLog();
480 afx_msg void OnTrayOpenfilesfolder(); 491 afx_msg void OnTrayOpenfilesfolder();
481 afx_msg void OnDropFiles(HDROP hDropInfo); 492 afx_msg void OnDropFiles(HDROP hDropInfo);
482 virtual void OnCancel(); 493 virtual void OnCancel();
483 afx_msg void OnHelp(); 494 afx_msg void OnHelp();
484 afx_msg void OnListening(); 495 afx_msg void OnListening();
496 afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
497 afx_msg void OnSize(UINT nType, int cx, int cy);
485 //}}AFX_MSG 498 //}}AFX_MSG
486 DECLARE_MESSAGE_MAP() 499 DECLARE_MESSAGE_MAP()
487}; 500};