#include <DlgFilePreview.h>
Inheritance diagram for CFilePreviewDlg:

Public Types | |
| enum | { IDD = IDD_FILE_PREVIEW } |
Public Member Functions | |
| CFilePreviewDlg (CDownload *pDownload, CWnd *pParent=NULL) | |
| virtual | ~CFilePreviewDlg () |
| BOOL | Create () |
| afx_msg void | OnClose () |
Static Public Member Functions | |
| static void | OnSkinChange (BOOL bSet) |
| static void | CloseAll () |
Public Attributes | |
| CCriticalSection | m_pSection |
| CDownload * | m_pDownload |
| CString | m_sRemoteName |
| CString | m_sSourceName |
| CString | m_sTargetName |
| QWORD | m_nRange |
| QWORD | m_nPosition |
| DWORD | m_nScaled |
| DWORD | m_nOldScaled |
| CString | m_sStatus |
| CString | m_sOldStatus |
| CDWordArray | m_pRanges |
| CButton | m_wndCancel |
| CProgressCtrl | m_wndProgress |
| CStatic | m_wndStatus |
| CStatic | m_wndName |
Protected Member Functions | |
| void | SetDownload (CDownload *pDownload) |
| void | OnRun () |
| BOOL | RunPlugin (HANDLE hFile) |
| BOOL | LoadPlugin (LPCTSTR pszType) |
| BOOL | RunManual (HANDLE hFile) |
| BOOL | QueueDeleteFile (LPCTSTR pszFile) |
| BOOL | ExecuteFile (LPCTSTR pszFile) |
| void | UpdateProgress (BOOL bRange, QWORD nRange, BOOL bPosition, QWORD nPosition) |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| virtual void | PostNcDestroy () |
| virtual BOOL | OnInitDialog () |
| virtual void | OnCancel () |
| afx_msg void | OnTimer (UINT nIDEvent) |
| afx_msg void | OnDestroy () |
Static Protected Member Functions | |
| static UINT | ThreadStart (LPVOID pParam) |
Protected Attributes | |
| BOOL | m_bThread |
| HANDLE | m_hThread |
| BOOL | m_bCancel |
| CString | m_sExecute |
| IDownloadPreviewPlugin * | m_pPlugin |
| STDMETHOD( | GetSuggestedFilename )(BSTR FAR *psFile) |
| STDMETHOD( | GetAvailableRanges )(SAFEARRAY FAR *FAR *ppArray) |
| STDMETHOD( | SetProgressRange )(DWORD nRange) |
| STDMETHOD( | SetProgressPosition )(DWORD nPosition) |
| STDMETHOD( | SetProgressMessage )(BSTR sMessage) |
| STDMETHOD( | QueueDeleteFile )(BSTR sTempFile) |
| STDMETHOD( | ExecuteFile )(BSTR sFile) |
Static Protected Attributes | |
| static CPtrList | m_pWindows |
|
|
Definition at line 83 of file DlgFilePreview.h. |
|
||||||||||||
|
Definition at line 60 of file DlgFilePreview.cpp. References NULL. |
|
|
Definition at line 74 of file DlgFilePreview.cpp. References m_pDownload, m_pWindows, and NULL. |
|
|
Definition at line 189 of file DlgFilePreview.cpp. References m_pWindows. Referenced by CMainWnd::OnClose(). |
|
|
Definition at line 150 of file DlgFilePreview.cpp. References IDD, m_pDownload, and NULL. Referenced by CDownloadWithExtras::Preview(). |
|
|
Reimplemented from CSkinDialog. Definition at line 80 of file DlgFilePreview.cpp. References CSkinDialog::DoDataExchange(), IDC_FILE_NAME, IDC_PREVIEW_STATUS, IDC_PROGRESS, m_wndCancel, m_wndName, m_wndProgress, and m_wndStatus. |
|
|
|
|
|
Definition at line 386 of file DlgFilePreview.cpp. References CPlugins::LookupCLSID(), m_pPlugin, NULL, and Plugins. Referenced by RunPlugin(). |
|
|
Definition at line 229 of file DlgFilePreview.cpp. References m_bCancel, m_bThread, m_pPlugin, m_pSection, and NULL. |
|
|
Definition at line 278 of file DlgFilePreview.cpp. |
|
|
Definition at line 283 of file DlgFilePreview.cpp. References CDownloads::Check(), Downloads, m_bThread, m_hThread, m_pDownload, CTransfers::m_pSection, CShareazaApp::Message(), MSG_DEBUG, NULL, theApp, and Transfers. |
|
|
Reimplemented from CSkinDialog. Definition at line 201 of file DlgFilePreview.cpp. References ID_DOWNLOADS_LAUNCH_COPY, m_bCancel, CShareazaApp::m_bRTL, m_bThread, m_hThread, m_nOldScaled, m_nPosition, m_nRange, m_nScaled, m_sOldStatus, m_sRemoteName, m_sStatus, m_wndCancel, m_wndName, m_wndProgress, m_wndStatus, NULL, CSkinDialog::OnInitDialog(), CSkinDialog::SkinMe(), theApp, and ThreadStart(). |
|
|
Definition at line 336 of file DlgFilePreview.cpp. References m_bCancel, m_bThread, m_sSourceName, NULL, RunManual(), and RunPlugin(). Referenced by ThreadStart(). |
|
|
Definition at line 171 of file DlgFilePreview.cpp. References ID_DOWNLOADS_LAUNCH_COPY, CSkinDialog::m_pSkin, m_pWindows, NULL, and CSkinDialog::SkinMe(). Referenced by CMainWnd::OnSkinChanged(). |
|
|
Definition at line 244 of file DlgFilePreview.cpp. References CFileExecutor::Execute(), m_nOldScaled, m_nScaled, m_pSection, m_sExecute, m_sOldStatus, m_sStatus, m_wndCancel, m_wndProgress, and m_wndStatus. |
|
|
Definition at line 320 of file DlgFilePreview.cpp. |
|
|
|
|
|
Definition at line 413 of file DlgFilePreview.cpp. References BUFFER_SIZE, ExecuteFile, m_bCancel, m_nPosition, m_nRange, m_pRanges, m_sTargetName, CShareazaApp::Message(), MSG_DEBUG, NULL, QueueDeleteFile, theApp, and UpdateProgress(). Referenced by OnRun(). |
|
|
Definition at line 354 of file DlgFilePreview.cpp. References LoadPlugin(), m_pPlugin, m_pSection, m_sTargetName, and NULL. Referenced by OnRun(). |
|
|
|
Definition at line 329 of file DlgFilePreview.cpp. References OnRun(). Referenced by OnInitDialog(). |
|
||||||||||||||||||||
|
Definition at line 512 of file DlgFilePreview.cpp. References m_nOldScaled, m_nPosition, m_nRange, m_nScaled, and m_pSection. Referenced by RunManual(). |
|
|
Definition at line 502 of file DlgFilePreview.cpp. Referenced by RunManual(). |
|
|
|
|
|
|
|
|
Definition at line 57 of file DlgFilePreview.h. Referenced by OnCancel(), OnInitDialog(), OnRun(), and RunManual(). |
|
|
Definition at line 55 of file DlgFilePreview.h. Referenced by OnCancel(), OnDestroy(), OnInitDialog(), and OnRun(). |
|
|
Definition at line 56 of file DlgFilePreview.h. Referenced by OnDestroy(), and OnInitDialog(). |
|
|
Definition at line 50 of file DlgFilePreview.h. Referenced by OnInitDialog(), OnTimer(), and UpdateProgress(). |
|
|
Definition at line 48 of file DlgFilePreview.h. Referenced by OnInitDialog(), RunManual(), and UpdateProgress(). |
|
|
Definition at line 47 of file DlgFilePreview.h. Referenced by OnInitDialog(), RunManual(), and UpdateProgress(). |
|
|
Definition at line 49 of file DlgFilePreview.h. Referenced by OnInitDialog(), OnTimer(), and UpdateProgress(). |
|
|
Definition at line 43 of file DlgFilePreview.h. Referenced by Create(), OnDestroy(), SetDownload(), and ~CFilePreviewDlg(). |
|
|
Definition at line 60 of file DlgFilePreview.h. Referenced by LoadPlugin(), OnCancel(), and RunPlugin(). |
|
|
Definition at line 53 of file DlgFilePreview.h. Referenced by RunManual(), and SetDownload(). |
|
|
Definition at line 42 of file DlgFilePreview.h. Referenced by OnCancel(), OnTimer(), RunPlugin(), and UpdateProgress(). |
|
|
Definition at line 54 of file DlgFilePreview.cpp. Referenced by CloseAll(), OnSkinChange(), and ~CFilePreviewDlg(). |
|
|
Definition at line 58 of file DlgFilePreview.h. Referenced by OnTimer(). |
|
|
Definition at line 52 of file DlgFilePreview.h. Referenced by OnInitDialog(), and OnTimer(). |
|
|
Definition at line 44 of file DlgFilePreview.h. Referenced by OnInitDialog(), and SetDownload(). |
|
|
Definition at line 45 of file DlgFilePreview.h. Referenced by OnRun(), and SetDownload(). |
|
|
Definition at line 51 of file DlgFilePreview.h. Referenced by OnInitDialog(), and OnTimer(). |
|
|
Definition at line 46 of file DlgFilePreview.h. Referenced by RunManual(), RunPlugin(), and SetDownload(). |
|
|
Definition at line 84 of file DlgFilePreview.h. Referenced by DoDataExchange(), OnInitDialog(), and OnTimer(). |
|
|
Definition at line 87 of file DlgFilePreview.h. Referenced by DoDataExchange(), and OnInitDialog(). |
|
|
Definition at line 85 of file DlgFilePreview.h. Referenced by DoDataExchange(), OnInitDialog(), and OnTimer(). |
|
|
Definition at line 86 of file DlgFilePreview.h. Referenced by DoDataExchange(), OnInitDialog(), and OnTimer(). |
|
|
Definition at line 486 of file DlgFilePreview.cpp. Referenced by RunManual(). |
|
|
|
|
|
|
|
|
|
1.4.2