-rwxr-xr-x[-rw-r--r--] | PumpKINDlg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PumpKINDlg.h b/PumpKINDlg.h index 23c2657..9077292 100644..100755 --- a/PumpKINDlg.h +++ b/PumpKINDlg.h | |||
@@ -386,96 +386,97 @@ public: | |||
386 | CBellsNWhistles m_bnw; | 386 | CBellsNWhistles m_bnw; |
387 | CTrayer *m_Trayer; | 387 | CTrayer *m_Trayer; |
388 | CTimeSpan m_RetryTimeOut; | 388 | CTimeSpan m_RetryTimeOut; |
389 | virtual ~CPumpKINDlg(); | 389 | virtual ~CPumpKINDlg(); |
390 | CRetrier* m_Retrier; | 390 | CRetrier* m_Retrier; |
391 | virtual BOOL PreTranslateMessage(MSG* pMsg); | 391 | virtual BOOL PreTranslateMessage(MSG* pMsg); |
392 | BOOL m_bShown; | 392 | BOOL m_bShown; |
393 | BOOL m_bExiting; | 393 | BOOL m_bExiting; |
394 | void SaveSettings(); | 394 | void SaveSettings(); |
395 | void LoadSettings(); | 395 | void LoadSettings(); |
396 | void SetupButtons(); | 396 | void SetupButtons(); |
397 | BITMAP m_bitmapBack; | 397 | BITMAP m_bitmapBack; |
398 | CBitmap m_bmpBack; | 398 | CBitmap m_bmpBack; |
399 | UINT m_PromptTimeOut; | 399 | UINT m_PromptTimeOut; |
400 | UINT m_SpeakPort; | 400 | UINT m_SpeakPort; |
401 | void LogLine(UINT msgID); | 401 | void LogLine(UINT msgID); |
402 | CTimeMap m_LogTimes; | 402 | CTimeMap m_LogTimes; |
403 | void LogLineToFile(LPCTSTR str); | 403 | void LogLineToFile(LPCTSTR str); |
404 | void LogLineToScreen(LPCTSTR str); | 404 | void LogLineToScreen(LPCTSTR str); |
405 | int m_LogLength; | 405 | int m_LogLength; |
406 | enum{ | 406 | enum{ |
407 | subitemFile=0, subitemType, subitemPeer, subitemBytes, subitemTSize | 407 | subitemFile=0, subitemType, subitemPeer, subitemBytes, subitemTSize |
408 | }; | 408 | }; |
409 | int m_iWRQ; | 409 | int m_iWRQ; |
410 | int m_iRRQ; | 410 | int m_iRRQ; |
411 | CImageList m_Images; | 411 | CImageList m_Images; |
412 | CTIDMap m_Xfers; | 412 | CTIDMap m_Xfers; |
413 | CTimeSpan m_TFTPTimeOut; | 413 | CTimeSpan m_TFTPTimeOut; |
414 | enum{ | 414 | enum{ |
415 | rrqGiveAll=acl_rule::rrqGrant, | 415 | rrqGiveAll=acl_rule::rrqGrant, |
416 | rrqAlwaysConfirm=acl_rule::rrqPrompt, | 416 | rrqAlwaysConfirm=acl_rule::rrqPrompt, |
417 | rrqDenyAll=acl_rule::rrqDeny, | 417 | rrqDenyAll=acl_rule::rrqDeny, |
418 | rrqFallback=acl_rule::rrqNone, | 418 | rrqFallback=acl_rule::rrqNone, |
419 | rrqGrant=rrqGiveAll, rrqDeny=rrqDenyAll, rrqPrompt=rrqAlwaysConfirm | 419 | rrqGrant=rrqGiveAll, rrqDeny=rrqDenyAll, rrqPrompt=rrqAlwaysConfirm |
420 | }; | 420 | }; |
421 | enum{ | 421 | enum{ |
422 | wrqTakeAll=acl_rule::wrqGrant, | 422 | wrqTakeAll=acl_rule::wrqGrant, |
423 | wrqConfirmIfExists=acl_rule::wrqPromptIfExists, | 423 | wrqConfirmIfExists=acl_rule::wrqPromptIfExists, |
424 | wrqAlwaysConfirm=acl_rule::wrqPrompt, | 424 | wrqAlwaysConfirm=acl_rule::wrqPrompt, |
425 | wrqDenyAll=acl_rule::wrqDeny, | 425 | wrqDenyAll=acl_rule::wrqDeny, |
426 | wrqFallback=acl_rule::wrqNone, | 426 | wrqFallback=acl_rule::wrqNone, |
427 | wrqGrant=wrqTakeAll,wrqDeny=wrqDenyAll, wrqPrompt=wrqAlwaysConfirm | 427 | wrqGrant=wrqTakeAll,wrqDeny=wrqDenyAll, wrqPrompt=wrqAlwaysConfirm |
428 | }; | 428 | }; |
429 | UINT m_RRQMode; | 429 | UINT m_RRQMode; |
430 | UINT m_WRQMode; | 430 | UINT m_WRQMode; |
431 | BOOL m_bTFTPSubdirs; | 431 | BOOL m_bTFTPSubdirs; |
432 | CString m_TFTPRoot; | 432 | CString m_TFTPRoot; |
433 | UINT m_ListenPort; | 433 | UINT m_ListenPort; |
434 | CString m_ListenAddress; | ||
434 | UINT m_BlockSize; | 435 | UINT m_BlockSize; |
435 | CListenSocket m_Listener; | 436 | CListenSocket m_Listener; |
436 | CPumpKINDlg(CWnd* pParent = NULL);// standard constructor | 437 | CPumpKINDlg(CWnd* pParent = NULL);// standard constructor |
437 | 438 | ||
438 | // Dialog Data | 439 | // Dialog Data |
439 | //{{AFX_DATA(CPumpKINDlg) | 440 | //{{AFX_DATA(CPumpKINDlg) |
440 | enum { IDD = IDD_PUMPKIN_DIALOG }; | 441 | enum { IDD = IDD_PUMPKIN_DIALOG }; |
441 | CButtonm_HelpCtl; | 442 | CButtonm_HelpCtl; |
442 | CButtonm_PutCtl; | 443 | CButtonm_PutCtl; |
443 | CButtonm_GetCtl; | 444 | CButtonm_GetCtl; |
444 | CButtonm_ExitCtl; | 445 | CButtonm_ExitCtl; |
445 | CButtonm_ListenCtl; | 446 | CButtonm_ListenCtl; |
446 | CButtonm_AbortCtl; | 447 | CButtonm_AbortCtl; |
447 | CButtonm_OptionsCtl; | 448 | CButtonm_OptionsCtl; |
448 | CListBoxm_Log; | 449 | CListBoxm_Log; |
449 | CListCtrlm_List; | 450 | CListCtrlm_List; |
450 | //}}AFX_DATA | 451 | //}}AFX_DATA |
451 | 452 | ||
452 | // ClassWizard generated virtual function overrides | 453 | // ClassWizard generated virtual function overrides |
453 | //{{AFX_VIRTUAL(CPumpKINDlg) | 454 | //{{AFX_VIRTUAL(CPumpKINDlg) |
454 | protected: | 455 | protected: |
455 | virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV support | 456 | virtual void DoDataExchange(CDataExchange* pDX);// DDX/DDV support |
456 | //}}AFX_VIRTUAL | 457 | //}}AFX_VIRTUAL |
457 | 458 | ||
458 | // Implementation | 459 | // Implementation |
459 | protected: | 460 | protected: |
460 | CToolTipCtrl m_tooltip; | 461 | CToolTipCtrl m_tooltip; |
461 | HICON m_hIcon; | 462 | HICON m_hIcon; |
462 | 463 | ||
463 | // Generated message map functions | 464 | // Generated message map functions |
464 | //{{AFX_MSG(CPumpKINDlg) | 465 | //{{AFX_MSG(CPumpKINDlg) |
465 | virtual BOOL OnInitDialog(); | 466 | virtual BOOL OnInitDialog(); |
466 | afx_msg void OnSysCommand(UINT nID, LPARAM lParam); | 467 | afx_msg void OnSysCommand(UINT nID, LPARAM lParam); |
467 | afx_msg void OnDestroy(); | 468 | afx_msg void OnDestroy(); |
468 | afx_msg void OnPaint(); | 469 | afx_msg void OnPaint(); |
469 | afx_msg HCURSOR OnQueryDragIcon(); | 470 | afx_msg HCURSOR OnQueryDragIcon(); |
470 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); | 471 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); |
471 | afx_msg void OnOptions(); | 472 | afx_msg void OnOptions(); |
472 | afx_msg void OnTimer(UINT nIDEvent); | 473 | afx_msg void OnTimer(UINT nIDEvent); |
473 | afx_msg void OnExit(); | 474 | afx_msg void OnExit(); |
474 | afx_msg void OnPut(); | 475 | afx_msg void OnPut(); |
475 | afx_msg void OnGet(); | 476 | afx_msg void OnGet(); |
476 | afx_msg void OnDeleteallitemsConnections(NMHDR* pNMHDR, LRESULT* pResult); | 477 | afx_msg void OnDeleteallitemsConnections(NMHDR* pNMHDR, LRESULT* pResult); |
477 | afx_msg void OnDeleteitemConnections(NMHDR* pNMHDR, LRESULT* pResult); | 478 | afx_msg void OnDeleteitemConnections(NMHDR* pNMHDR, LRESULT* pResult); |
478 | afx_msg void OnInsertitemConnections(NMHDR* pNMHDR, LRESULT* pResult); | 479 | afx_msg void OnInsertitemConnections(NMHDR* pNMHDR, LRESULT* pResult); |
479 | afx_msg void OnItemchangedConnections(NMHDR* pNMHDR, LRESULT* pResult); | 480 | afx_msg void OnItemchangedConnections(NMHDR* pNMHDR, LRESULT* pResult); |
480 | afx_msg void OnAbort(); | 481 | afx_msg void OnAbort(); |
481 | afx_msg void OnClose(); | 482 | afx_msg void OnClose(); |