CDownloadsWnd Class Reference

#include <DownloadsWnd.h>

List of all members.

Public Member Functions

 CDownloadsWnd ()
BOOL IsMediaDownload (vmsDownloadSmartPtr dld)
int DeleteDownloads (DLDS_LIST_REF v, BOOL bByUser, BOOL bDontConfirmFileDeleting)
void ShowDownloads (DLDS_LIST_REF v)
BOOL CreateBtDownloadFromFile (LPCSTR pszFile, LPCSTR pszTorrentUrl, BOOL bSilent=FALSE)
void OnBtDownloadProperties (DLDS_LIST &vDlds, CWnd *pwndParent=NULL)
void UpdateNumbersOfDownloadsInGroups ()
void DeleteDeadDownloadsInList ()
void OnGroupNameChanged (vmsDownloadsGroupSmartPtr pGroup)
void CheckDldHasOpinions (vmsDownloadSmartPtr dld)
UINT get_TotalSpeed ()
void set_DontUpdateTIPO (BOOL b)
void RestartDownload (vmsDownloadSmartPtr dld, BOOL bSelThisDld)
BOOL IsFindNextAvail ()
void SelectDeletedDownload (vmsDownloadSmartPtr dld)
void ShowDeletedDownloads ()
void SelectHistRecord (fsDLHistoryRecord *rec)
void ShowAllHistory ()
void FindDownloads_FindNext ()
void FindDownloads_Start ()
void SelectDownload (vmsDownloadSmartPtr dld)
void ShowAllDownloads ()
void ApplyHistoryCurrentFilter ()
void Set_DWWN (fsDLsWndWhatIsNow en)
void ApplyDWWN (BOOL bRecalcSize=FALSE)
fsDLsWndWhatIsNow Get_DWWN ()
BOOL CreateDownloadWithDefSettings (vmsDownloadSmartPtr dld, LPCSTR pszUrl)
BOOL IsSizesInBytes ()
fsDldFilterGetCurrentFilter ()
void ApplyCurrentFilter ()
void FilterDownloads (fsDldFilter *filter)
void DeleteDownload (vmsDownloadSmartPtr dld, BOOL bByUser)
void OnDownloadsGroupChanged ()
void UpdateDownload (vmsDownloadSmartPtr dld, BOOL bWithFile=FALSE)
void OnNewGroupCreated (vmsDownloadsGroupSmartPtr pGroup)
void CreateDownload (vmsDownloadSmartPtr dld, struct fsSchedule *task=NULL, BOOL bDontUseSounds=FALSE, bool bPlaceToTop=false)
void ShowAllGroups (BOOL bShow)
void SaveAll (BOOL bWarnIfErr=FALSE)
void CreateDownloads (DLDS_LIST &vDlds, struct fsSchedule *task, BOOL bDontUseSounds=FALSE, bool bPlaceToTop=false)
void UpdateAllDownloads ()
void DeleteCompletedDownloadsInList ()
void DeleteDownloadsInList ()
void StopDownloadsInList ()
void StartDownloadsInList ()
void UpdateTrayIconPlusOthers ()
BOOL CreateDownload (LPCSTR pszStartUrl, BOOL bReqTopMostDialog=FALSE, LPCSTR pszComment=NULL, LPCSTR pszReferer=NULL, BOOL bSilent=FALSE, DWORD dwForceAutoLaunch=DWCD_NOFORCEAUTOLAUNCH, BOOL *pbAutoStart=NULL, vmsDWCD_AdditionalParameters *pParams=NULL, UINT *pRes=NULL)
afx_msg void OnDownloadCreate ()
void OnOptimizationWizard ()
fsTUM GetTUM ()
void SetTUM (fsTUM tum)
void OnDownloaderProperties ()
void OnDownloadDefProperties ()
BOOL DeleteGroup (vmsDownloadsGroupSmartPtr pGroup)
void OnDownloadProperties (DLDS_LIST &vDlds, CWnd *pwndParent=NULL)
void SetActiveDownload (vmsDownloadSmartPtr dld)
BOOL Create (CWnd *pParent)
virtual ~CDownloadsWnd ()

Static Public Member Functions

static HMENU Plugin_GetViewMenu ()
static HMENU Plugin_GetMainMenu ()
static void Plugin_SetLanguage (wgLanguage, HMENU hMenuMain, HMENU)
static void Plugin_GetPluginNames (LPCSTR *ppszLong, LPCSTR *ppszShort)
static void Plugin_GetMenuViewItems (wgMenuViewItem **ppItems, int *cItems)
static void Plugin_GetMenuImages (fsSetImage **ppImages, int *pcImages)
static void Plugin_GetToolBarInfo (wgTButtonInfo **ppButtons, int *pcButtons)
static HWND Plugin_CreateMainWindow (HWND hParent)

Public Attributes

CDownloads_Downloads m_wndDownloads
CDownloads_Deleted m_wndDeleted
CDownloads_History m_wndHistory
CDownloads_Groups m_wndGroups
fsClipboardCatchMgr m_ClpbrdCatch

Protected Member Functions

afx_msg LRESULT OnDldConvertMedia (WPARAM, LPARAM lp)
void OnDldHasOpinions (vmsDownloadSmartPtr dld)
afx_msg LRESULT OnDldShowOpinions (WPARAM, LPARAM lp)
LRESULT afx_msg OnDWUpdateDldDialog (WPARAM, LPARAM lp)
afx_msg LRESULT OnDWCloseDldDialog (WPARAM, LPARAM lp)
afx_msg LRESULT OnDWCreateDldDialog (WPARAM, LPARAM lp)
afx_msg LRESULT OnInsert (WPARAM, LPARAM)
void FilterDownloads2 (fsDldFilter *filter, int *pProgress=NULL)
afx_msg void OnDLListShowCol (UINT uCmd)
afx_msg void OnDLLogShowCol (UINT nCmd)
void UpdateDLLogColMenu (CMenu *menu)
void UpdateDLListColMenu (CMenu *menu)
afx_msg LRESULT OnUpdateMenuView (WPARAM, LPARAM lp)
void ApplyLanguageToMenuView (CMenu *menu)
afx_msg void OnShowDownloadingInfo ()
afx_msg void OnShowAllGroups ()
afx_msg LRESULT OnUpdateToolBar (WPARAM wp, LPARAM)
afx_msg LRESULT OnUpdateMenu (WPARAM, LPARAM lp)
afx_msg LRESULT OnAppQueryExit (WPARAM, LPARAM)
void ApplyConnectionType (enum fsConnectionType enCT)
afx_msg LRESULT OnAppExit (WPARAM, LPARAM)
BOOL LoadDownloads ()
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnDestroy ()
afx_msg void OnDlddelete ()
afx_msg void OnDldlaunch ()
afx_msg void OnDldopenfolder ()
afx_msg void OnDldproperties ()
afx_msg void OnDldstart ()
afx_msg void OnDldstop ()
afx_msg void OnDldschedule ()
afx_msg void OnDldautostart ()
afx_msg void OnSetFocus (CWnd *pOldWnd)
afx_msg void OnDldaddsection ()
afx_msg void OnDlddelsection ()
afx_msg void OnDldrestart ()
afx_msg void OnDldqsize ()
afx_msg void OnDldcreatebatch ()
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnDldcheckvir ()
afx_msg void OnDldfind ()
afx_msg void OnDldfindnext ()
afx_msg void OnDldunpack ()
afx_msg void OnDldmovedown ()
afx_msg void OnDldmoveup ()
afx_msg void OnDldcheckintegrity ()
afx_msg void OnDldmovetofolder ()
afx_msg void OnDldmovebottom ()
afx_msg void OnDldmovetop ()
afx_msg void OnDldschedulestop ()
afx_msg void OnDldgrantbandwidthfordld ()
afx_msg void OnDldshowprogressdlg ()
afx_msg void OnDldconvert ()
afx_msg void OnDldenableseeding ()

Static Protected Member Functions

static DWORD WINAPI _threadCheckDldHasOpinions (LPVOID lp)
static DWORD WINAPI _threadFilterDownloads (LPVOID lp)
static DWORD _Events (fsDownload *dld, fsDownloadsMgrEvent ev, LPVOID lp)

Protected Attributes

DLDS_LIST m_vUploadDownloads
bool m_bDeletingManyDownloads
UINT m_uTotalSpeed
BOOL m_bDontUpdateTIPO
fsFindDownloadMgr m_finder
fsDLsWndWhatIsNow m_enDWWN
BOOL m_bShowGroups
BOOL m_bExiting
CWndSplitter m_splitter
long m_cCheckDldHasOpinionsThreads

Friends

class CDownloads_Groups
class CDownloads_Tasks
class CDownloaderProperties_MonitorPage
class CDownloaderProperties_ListPage
class CDlgExportDownloads
class CMainFrame


Detailed Description

Definition at line 89 of file DownloadsWnd.h.


Constructor & Destructor Documentation

CDownloadsWnd::CDownloadsWnd (  ) 

CDownloadsWnd::~CDownloadsWnd (  )  [virtual]

Definition at line 62 of file DownloadsWnd.cpp.

References _DldsMgr, and fsDownloadsMgr::Shutdown().


Member Function Documentation

HMENU CDownloadsWnd::Plugin_GetViewMenu (  )  [static]

Definition at line 2394 of file DownloadsWnd.cpp.

References IDM_DL_VIEW.

Referenced by fsPluginMgr::LoadBuiltIn().

HMENU CDownloadsWnd::Plugin_GetMainMenu (  )  [static]

Definition at line 2389 of file DownloadsWnd.cpp.

References IDM_DOWNLOADS.

Referenced by fsPluginMgr::LoadBuiltIn().

BOOL CDownloadsWnd::IsMediaDownload ( vmsDownloadSmartPtr  dld  ) 

int CDownloadsWnd::DeleteDownloads ( DLDS_LIST_REF  v,
BOOL  bByUser,
BOOL  bDontConfirmFileDeleting 
)

void CDownloadsWnd::ShowDownloads ( DLDS_LIST_REF  v  ) 

BOOL CDownloadsWnd::CreateBtDownloadFromFile ( LPCSTR  pszFile,
LPCSTR  pszTorrentUrl,
BOOL  bSilent = FALSE 
)

void CDownloadsWnd::OnBtDownloadProperties ( DLDS_LIST vDlds,
CWnd *  pwndParent = NULL 
)

void CDownloadsWnd::UpdateNumbersOfDownloadsInGroups (  ) 

void CDownloadsWnd::DeleteDeadDownloadsInList (  ) 

void CDownloadsWnd::OnGroupNameChanged ( vmsDownloadsGroupSmartPtr  pGroup  ) 

Definition at line 2203 of file DownloadsWnd.cpp.

References m_wndGroups, and CDownloads_Groups::OnGroupNameChanged().

Referenced by CGroupDlg::OnOK().

void CDownloadsWnd::CheckDldHasOpinions ( vmsDownloadSmartPtr  dld  ) 

UINT CDownloadsWnd::get_TotalSpeed (  ) 

Definition at line 2084 of file DownloadsWnd.cpp.

References m_uTotalSpeed.

Referenced by CMainFrame::OnUpdateTotalSpeed().

void CDownloadsWnd::set_DontUpdateTIPO ( BOOL  b  ) 

Definition at line 2021 of file DownloadsWnd.cpp.

References m_bDontUpdateTIPO.

Referenced by fsDownloadsMgr::DeleteDownloads2().

void CDownloadsWnd::RestartDownload ( vmsDownloadSmartPtr  dld,
BOOL  bSelThisDld 
)

BOOL CDownloadsWnd::IsFindNextAvail (  ) 

Definition at line 1962 of file DownloadsWnd.cpp.

References fsFindDownloadMgr::IsFindNextAvail(), and m_finder.

Referenced by CMainFrame::OnUpdateFindnext().

void CDownloadsWnd::SelectDeletedDownload ( vmsDownloadSmartPtr  dld  ) 

Definition at line 1957 of file DownloadsWnd.cpp.

References m_wndDeleted, and CDownloads_Deleted::SelectDownload().

Referenced by fsFindDownloadMgr::FindNext().

void CDownloadsWnd::ShowDeletedDownloads (  ) 

void CDownloadsWnd::SelectHistRecord ( fsDLHistoryRecord rec  ) 

Definition at line 1947 of file DownloadsWnd.cpp.

References m_wndHistory, and CDownloads_History::SelectRecord().

Referenced by fsFindDownloadMgr::FindNext().

void CDownloadsWnd::ShowAllHistory (  ) 

void CDownloadsWnd::FindDownloads_FindNext (  ) 

void CDownloadsWnd::FindDownloads_Start (  ) 

void CDownloadsWnd::SelectDownload ( vmsDownloadSmartPtr  dld  ) 

void CDownloadsWnd::ShowAllDownloads (  ) 

void CDownloadsWnd::ApplyHistoryCurrentFilter (  ) 

void CDownloadsWnd::Set_DWWN ( fsDLsWndWhatIsNow  en  ) 

Definition at line 1900 of file DownloadsWnd.cpp.

References ApplyDWWN(), m_enDWWN, and TRUE.

Referenced by CDownloads_Groups::OnSelchanged().

void CDownloadsWnd::ApplyDWWN ( BOOL  bRecalcSize = FALSE  ) 

fsDLsWndWhatIsNow CDownloadsWnd::Get_DWWN (  ) 

BOOL CDownloadsWnd::CreateDownloadWithDefSettings ( vmsDownloadSmartPtr  dld,
LPCSTR  pszUrl 
)

BOOL CDownloadsWnd::IsSizesInBytes (  ) 

fsDldFilter * CDownloadsWnd::GetCurrentFilter (  ) 

Definition at line 1694 of file DownloadsWnd.cpp.

References CDownloads_Groups::GetCurrentFilter(), and m_wndGroups.

Referenced by OnDownloadsGroupChanged().

void CDownloadsWnd::ApplyCurrentFilter (  ) 

void CDownloadsWnd::FilterDownloads ( fsDldFilter filter  ) 

void CDownloadsWnd::Plugin_SetLanguage ( wgLanguage  ,
HMENU  hMenuMain,
HMENU  hMenuView 
) [static]

void CDownloadsWnd::Plugin_GetPluginNames ( LPCSTR ppszLong,
LPCSTR ppszShort 
) [static]

Definition at line 1571 of file DownloadsWnd.cpp.

References L_DOWNLOADS, and LSNP.

Referenced by fsPluginMgr::LoadBuiltIn().

void CDownloadsWnd::Plugin_GetMenuViewItems ( wgMenuViewItem **  ppItems,
int *  cItems 
) [static]

void CDownloadsWnd::Plugin_GetMenuImages ( fsSetImage **  ppImages,
int *  pcImages 
) [static]

void CDownloadsWnd::Plugin_GetToolBarInfo ( wgTButtonInfo **  ppButtons,
int *  pcButtons 
) [static]

HWND CDownloadsWnd::Plugin_CreateMainWindow ( HWND  hParent  )  [static]

Definition at line 1529 of file DownloadsWnd.cpp.

References Create(), and fsnew1.

Referenced by fsPluginMgr::LoadBuiltIn().

void CDownloadsWnd::DeleteDownload ( vmsDownloadSmartPtr  dld,
BOOL  bByUser 
)

void CDownloadsWnd::OnDownloadsGroupChanged (  ) 

void CDownloadsWnd::UpdateDownload ( vmsDownloadSmartPtr  dld,
BOOL  bWithFile = FALSE 
)

void CDownloadsWnd::OnNewGroupCreated ( vmsDownloadsGroupSmartPtr  pGroup  ) 

Definition at line 1480 of file DownloadsWnd.cpp.

References m_wndGroups, and CDownloads_Groups::OnNewGroupCreated().

Referenced by CGroupDlg::OnOK().

void CDownloadsWnd::CreateDownload ( vmsDownloadSmartPtr  dld,
struct fsSchedule task = NULL,
BOOL  bDontUseSounds = FALSE,
bool  bPlaceToTop = false 
)

void CDownloadsWnd::ShowAllGroups ( BOOL  bShow  ) 

void CDownloadsWnd::SaveAll ( BOOL  bWarnIfErr = FALSE  ) 

void CDownloadsWnd::CreateDownloads ( DLDS_LIST vDlds,
struct fsSchedule task,
BOOL  bDontUseSounds = FALSE,
bool  bPlaceToTop = false 
)

void CDownloadsWnd::UpdateAllDownloads (  ) 

void CDownloadsWnd::DeleteCompletedDownloadsInList (  ) 

void CDownloadsWnd::DeleteDownloadsInList (  ) 

void CDownloadsWnd::StopDownloadsInList (  ) 

void CDownloadsWnd::StartDownloadsInList (  ) 

void CDownloadsWnd::UpdateTrayIconPlusOthers (  ) 

BOOL CDownloadsWnd::CreateDownload ( LPCSTR  pszStartUrl,
BOOL  bReqTopMostDialog = FALSE,
LPCSTR  pszComment = NULL,
LPCSTR  pszReferer = NULL,
BOOL  bSilent = FALSE,
DWORD  dwForceAutoLaunch = DWCD_NOFORCEAUTOLAUNCH,
BOOL *  pbAutoStart = NULL,
vmsDWCD_AdditionalParameters pParams = NULL,
UINT pRes = NULL 
)

Definition at line 957 of file DownloadsWnd.cpp.

References CCreateDownloadDlg::_CheckDownloadAlrExists(), _DldsMgr, _DlgMgr, _MediaConvertMgr, _pwndFVDownloads, CFlashVideoDownloadsWnd::AddDownload(), vmsMediaConvertMgr::AddTask(), AER_RENAME, BOOL, CreateDownload(), CreateDownloadWithDefSettings(), DLD_DELETEFILEATRESTART, DLD_DELETEWHENDONE, DLD_FLASH_VIDEO, DLD_MALICIOUS_DISABLE_CHECK, DLD_MF_AUTO_CONVERT, DLD_NOAUTOCHANGECURGRPFILTER, fsDialogsMgr::DoModal(), Download_CreateInstance(), DPF_STARTWHENDONE, DPF_STARTWHENDONE_NOCONF, DWCD_FORCEAUTOLAUNCH_NOCONF, DWCD_NOFORCEAUTOLAUNCH, DWCDAP_COOKIES, DWCDAP_FILENAME, DWCDAP_FLAGS, DWCDAP_GROUP, DWCDAP_MEDIA_CONVERT_SETTINGS, DWCDAP_POSTDATA, DWDCDAP_F_DELWHENDONE, DWDCDAP_F_DISABLEMALICIOUSCHECK, DWDCDAP_F_DONTCHECKURLALREADYEXISTS, DWDCDAP_F_FLASHVIDEODOWNLOAD, DWDCDAP_F_FORCEAUTOSTART, DWDCDAP_F_IGNOREALLRESTRICTS, DWDCDAP_F_NO_UI, DWDCDAP_F_NOGRPAUTOCHANGE, DWDCDAP_F_PLACETOTOP, DWDCDAP_F_SAVETODESKTOP, DWDCDAP_F_SAVETOTEMPFLDR, DWDCDAP_F_SETFOCUSTOOKBTN, vmsDWCD_AdditionalParameters::dwFlags, vmsDWCD_AdditionalParameters::dwMask, FALSE, ID_DLNOTADDED, fsDownloadsMgr::IsSuchUrlExistsAlready(), LOG, LPSTR, CCreateDownloadDlg::m_bPlaceAtTop, CCreateDownloadDlg::m_bReqTopMostDialog, CCreateDownloadDlg::m_bScheduled, CCreateDownloadDlg::m_bSetFocusToOKBtn, CCreateDownloadDlg::m_pGroup, CCreateDownloadDlg::m_pszCookies, CCreateDownloadDlg::m_pszPostData, CCreateDownloadDlg::m_task, MY_MAX_PATH, nl, NULL, vmsDWCD_AdditionalParameters::pGroup, fsDownload_Properties::pszFileName, SAFE_DELETE_ARRAY, vmsDWCD_AdditionalParameters::stgsMediaConvert, vmsDWCD_AdditionalParameters::strCookies, vmsDWCD_AdditionalParameters::strFileName, vmsDWCD_AdditionalParameters::strPostData, and TRUE.

void CDownloadsWnd::OnDownloadCreate (  ) 

Definition at line 238 of file DownloadsWnd.cpp.

References CreateDownload(), and NULL.

Referenced by CMainFrame::OnDldCreate(), and CDownloads_Tasks::OnDldcreate().

void CDownloadsWnd::OnOptimizationWizard (  ) 

fsTUM CDownloadsWnd::GetTUM (  ) 

void CDownloadsWnd::SetTUM ( fsTUM  tum  ) 

void CDownloadsWnd::OnDownloaderProperties (  ) 

void CDownloadsWnd::OnDownloadDefProperties (  ) 

Definition at line 777 of file DownloadsWnd.cpp.

References _App, _DlgMgr, fsAppSettings::AccDeniedReaction(), fsAppSettings::AdditionalExtension(), fsDownload_Properties::aEP, fsAppSettings::Agent(), fsAppSettings::AlreadyExistReaction(), fsAppSettings::ASCIIExts(), fsDownload_Properties::bCheckIntegrityWhenDone, fsDownload_Properties::bIgnoreRestrictions, fsDownload_Properties::bReserveDiskSpace, fsDownload_Properties::bRestartSpeedLow, fsDownload_NetworkProperties::bUseCookie, fsDownload_NetworkProperties::bUseHttp11, vmsObjectSmartPtr< T >::CreateInstance(), DFE_ACCDENIED, DFE_NOTFOUND, fsAppSettings::DNPFlags(), fsAppSettings::Download_CheckIntegrityWhenDone(), fsAppSettings::Download_CreateExt(), fsAppSettings::Download_IntegrityCheckFailedReaction(), fsAppSettings::DownloadFlags(), DPS_SHP_NOGENERALNOMIRR, fsDownload_NetworkProperties::dwFlags, fsDownload_Properties::dwFlags, fsDownload_NetworkProperties::dwFtpFlags, fsDownload_NetworkProperties::enAccType, fsDownload_Properties::enAER, fsDownload_NetworkProperties::enFtpTransferType, fsDownload_Properties::enICFR, fsDownload_Properties::enSCR, fsAppSettings::FtpFlags(), fsAppSettings::FtpProxy_Name(), fsAppSettings::FtpProxy_Password(), fsAppSettings::FtpProxy_UserName(), fsAppSettings::FtpTransferType(), fsAppSettings::HttpProxy_Name(), fsAppSettings::HttpProxy_Password(), fsAppSettings::HttpProxy_UserName(), fsAppSettings::HttpsProxy_Name(), fsAppSettings::HttpsProxy_Password(), fsAppSettings::HttpsProxy_UserName(), fsAppSettings::IgnoreRestrictions(), CDownloadPropertiesSheet::Init(), fsAppSettings::InternetAccessType(), L_DLDDEFOPT, fsAppSettings::LowSpeed_Duration(), fsAppSettings::LowSpeed_Factor(), LS, fsAppSettings::MaxAttempts(), fsAppSettings::MaxSections(), fsAppSettings::NotFoundReaction(), fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), fsDownload_Properties::pszAdditionalExt, fsDownload_NetworkProperties::pszAgent, fsDownload_NetworkProperties::pszASCIIExts, fsDownload_Properties::pszCreateExt, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszProxyName, fsDownload_NetworkProperties::pszProxyPassword, fsDownload_NetworkProperties::pszProxyUserName, fsDownload_NetworkProperties::pszReferer, fsDownload_NetworkProperties::pszUserName, fsAppSettings::Referer(), fsAppSettings::ReserveDiskSpace(), fsAppSettings::RestartSpeedLow(), fsAppSettings::RetriesTime(), fsAppSettings::RollBackSize(), fsAppSettings::SectionMinSize(), fsAppSettings::SizeChangeReaction(), fsAppSettings::Timeout(), fsAppSettings::TrafficRestriction(), fsDownload_Properties::uMaxAttempts, fsDownload_Properties::uMaxSections, fsDownload_Properties::uRetriesTime, fsAppSettings::UseCookie(), fsDownload_Properties::uSectionMinSize, fsAppSettings::UseHttp11(), fsAppSettings::UserName(), fsAppSettings::UserPassword(), fsDownload_Properties::uTimeout, fsDownload_Properties::uTrafficRestriction, fsDownload_NetworkProperties::wLowSpeed_Duration, fsDownload_NetworkProperties::wLowSpeed_Factor, and fsDownload_NetworkProperties::wRollBackSize.

Referenced by CDownloaderProperties_NewDownloadPage::OnAdvanced(), and CMainFrame::OnDlddefoptions().

BOOL CDownloadsWnd::DeleteGroup ( vmsDownloadsGroupSmartPtr  pGroup  ) 

void CDownloadsWnd::OnDownloadProperties ( DLDS_LIST vDlds,
CWnd *  pwndParent = NULL 
)

void CDownloadsWnd::SetActiveDownload ( vmsDownloadSmartPtr  dld  ) 

BOOL CDownloadsWnd::Create ( CWnd *  pParent  ) 

Definition at line 129 of file DownloadsWnd.cpp.

References _DldsMgr, FALSE, fsDownloadsMgr::Initialize(), NULL, and TRUE.

Referenced by Plugin_CreateMainWindow().

LRESULT CDownloadsWnd::OnDldConvertMedia ( WPARAM  wp,
LPARAM  lp 
) [protected]

Definition at line 2364 of file DownloadsWnd.cpp.

References _MediaConvertMgr, and vmsMediaConvertMgr::ConvertMediaFile().

void CDownloadsWnd::OnDldHasOpinions ( vmsDownloadSmartPtr  dld  )  [protected]

DWORD WINAPI CDownloadsWnd::_threadCheckDldHasOpinions ( LPVOID  lp  )  [static, protected]

LRESULT CDownloadsWnd::OnDldShowOpinions ( WPARAM  ,
LPARAM  lp 
) [protected]

LRESULT CDownloadsWnd::OnDWUpdateDldDialog ( WPARAM  ,
LPARAM  lp 
) [protected]

Definition at line 2063 of file DownloadsWnd.cpp.

References IDC_AUTOCLOSE, and OnDWCloseDldDialog().

LRESULT CDownloadsWnd::OnDWCloseDldDialog ( WPARAM  ,
LPARAM  lp 
) [protected]

Definition at line 2051 of file DownloadsWnd.cpp.

References SAFE_DELETE.

Referenced by OnDWUpdateDldDialog().

LRESULT CDownloadsWnd::OnDWCreateDldDialog ( WPARAM  wp,
LPARAM  lp 
) [protected]

LRESULT CDownloadsWnd::OnInsert ( WPARAM  ,
LPARAM   
) [protected]

DWORD WINAPI CDownloadsWnd::_threadFilterDownloads ( LPVOID  lp  )  [static, protected]

void CDownloadsWnd::FilterDownloads2 ( fsDldFilter filter,
int *  pProgress = NULL 
) [protected]

void CDownloadsWnd::OnDLListShowCol ( UINT  uCmd  )  [protected]

void CDownloadsWnd::OnDLLogShowCol ( UINT  nCmd  )  [protected]

void CDownloadsWnd::UpdateDLLogColMenu ( CMenu *  menu  )  [protected]

void CDownloadsWnd::UpdateDLListColMenu ( CMenu *  menu  )  [protected]

LRESULT CDownloadsWnd::OnUpdateMenuView ( WPARAM  ,
LPARAM  lp 
) [protected]

Definition at line 1628 of file DownloadsWnd.cpp.

References UpdateDLListColMenu(), and UpdateDLLogColMenu().

void CDownloadsWnd::ApplyLanguageToMenuView ( CMenu *  menu  )  [protected]

void CDownloadsWnd::OnShowDownloadingInfo (  )  [protected]

void CDownloadsWnd::OnShowAllGroups (  )  [protected]

Definition at line 1446 of file DownloadsWnd.cpp.

References FALSE, m_bShowGroups, and ShowAllGroups().

LRESULT CDownloadsWnd::OnUpdateToolBar ( WPARAM  wp,
LPARAM   
) [protected]

LRESULT CDownloadsWnd::OnUpdateMenu ( WPARAM  ,
LPARAM  lp 
) [protected]

LRESULT CDownloadsWnd::OnAppQueryExit ( WPARAM  ,
LPARAM   
) [protected]

Definition at line 912 of file DownloadsWnd.cpp.

void CDownloadsWnd::ApplyConnectionType ( enum fsConnectionType  enCT  )  [protected]

Definition at line 900 of file DownloadsWnd.cpp.

References _DldsMgr, and fsDownloadsMgr::ApplyConnectionType().

Referenced by OnOptimizationWizard().

DWORD CDownloadsWnd::_Events ( fsDownload dld,
fsDownloadsMgrEvent  ev,
LPVOID  lp 
) [static, protected]

Definition at line 455 of file DownloadsWnd.cpp.

References _App, _pwndFVDownloads, _Snds, CDownloads_Deleted::AddDownload(), CDownloads_Info::AddDownloadEvent(), CDownloads_Tasks::AddDownloadToList(), CDownloads_History::AddRecord(), vmsObject::AddRef(), ApplyCurrentFilter(), CDownloads_Groups::ApplyNotGroupFilterForDownload(), ASSERT, BOOL, CheckDldHasOpinions(), fsAppSettings::Community_DisplayOpinionsAtDlding(), fsAppSettings::Community_SwitchToOpinions(), CDownloads_History::DeleteAllRecords(), CDownloads_History::DeleteRecord(), DIT_MEDIAPREVIEW, DIT_OPINIONS, DLD_BATCH, DLD_FLASH_VIDEO, DLD_HASOPINIONS_NO, DLD_HASOPINIONS_YES, DLD_NOTIFICATIONS_LL, DME_BEGINDELETEMANYDOWNLOADS, DME_BTDLD_STAT_CHANGED, DME_CLOSEDLDDIALOG, DME_CREATEDLDDIALOG, DME_DLDADDEDTODELETED, DME_DLDAUTODELETED, DME_DLDREMOVEDFROMDELETED, DME_DLDRESTORED, DME_DLDSAUTOSTARTMDFD, DME_DLDWILLBEFULLYDELETED, DME_DLMGRTHREADSTARTING, DME_DOWNLOAD_STATE_CHANGED, DME_DOWNLOADEREVENTRECEIVED, DME_DOWNLOADFILEWILLBEDELETED, DME_DOWNLOADSTOPPEDORDONE, DME_DOWNLOADWASDELETEDFROMLIST, DME_DOWNLOADWILLBEDELETED, DME_ENDDELETEMANYDOWNLOADS, DME_EVENTDESCRIPRIONRECEIVED, DME_FILEUPDATED, DME_HISTORYCLEARED, DME_NOACTIVEDOWNLOADS, DME_RECADDEDTOHISTORY, DME_RECDELETEDFROMHISTORY, DME_RECYCLEBINCONTENTCHANGED, DME_REDIRECTED, DME_SECTIONDOWNLOADING, DME_SECTIONSTARTED, DME_UPDATEDLDDIALOG, fsDownload::dwFlags, EV_NODOWNLOADS, fsSoundsMgr::Event(), fsScheduleMgr::ExciteEvent(), FALSE, CDownloads_Info::Get_ActiveDownload(), CDownloads_Info::get_CurTab(), CDownloads_Tasks::GetActiveDownload(), CDownloads_Groups::GetCurrentFilter(), CDownloads_Tasks::GetFileName(), CDownloads_Groups::GetHistoryCurrentFilter(), CSpiderWnd::GetMgr(), CShedulerWnd::GetMgr(), IsMediaDownload(), fsDldHistRecFilter::IsSatisfies(), fsDldFilter::IsSatisfies(), L_DONE, L_STOPPED, L_WAITING, LOG, LS, m_bDeletingManyDownloads, m_bExiting, CDownloads_Downloads::m_info, CDownloads_Info::m_opinions, CDownloads_Downloads::m_tasks, CDownloads_Info::m_video, CDownloads_VideoPreview::m_vidman, m_wndDeleted, m_wndDownloads, m_wndGroups, m_wndHistory, CFlashVideoDownloadsWnd::m_wndPreview, CFlashVideoDownloadsWnd::m_wndTasks, MY_MAX_PATH, nl, fsAppSettings::Notif_DisableForBatchDownloads(), NULL, OnDldHasOpinions(), fsWebPageDownloadsMgr::OnDownloadRestored(), PRG_NAME, CDownloads_Deleted::RemoveDownload(), CDownloads_Info::set_CurTab(), CMainFrame::ShowTimeoutBalloon(), SME_DOWNLOADCOMPLETE, SME_DOWNLOADFAILED, SME_NOACTIVEDOWNLOADS, CDownloads_VideoPreview::Stop(), TRUE, CDlgVidMan::Update(), CDownloads_Tasks::UpdateActiveDownload(), CDownloads_Info::UpdateBtStat(), CDownloads_Opinions::UpdateContent(), CDownloads_Groups::UpdateDeletedIcon(), CFVDownloads_Tasks::UpdateDownload(), CDownloads_Tasks::UpdateDownload(), UpdateTrayIconPlusOthers(), fsDownload::vEvents, fsAppSettings::View_AutoSwitchToMediaPreview(), CFVDownloads_Tasks::WillBeDeleted(), CDownloads_Tasks::WillBeDeleted(), WM_DW_CLOSEDLDDIALOG, WM_DW_CREATEDLDDIALOG, and WM_DW_UPDATEDLDDIALOG.

Referenced by CDownloadsWnd().

LRESULT CDownloadsWnd::OnAppExit ( WPARAM  ,
LPARAM   
) [protected]

BOOL CDownloadsWnd::LoadDownloads (  )  [protected]

int CDownloadsWnd::OnCreate ( LPCREATESTRUCT  lpCreateStruct  )  [protected]

void CDownloadsWnd::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

void CDownloadsWnd::OnTimer ( UINT  nIDEvent  )  [protected]

void CDownloadsWnd::OnDestroy (  )  [protected]

Definition at line 905 of file DownloadsWnd.cpp.

Referenced by CDownloadsGroupsComboBox::OnDestroy().

void CDownloadsWnd::OnDlddelete (  )  [protected]

void CDownloadsWnd::OnDldlaunch (  )  [protected]

void CDownloadsWnd::OnDldopenfolder (  )  [protected]

void CDownloadsWnd::OnDldproperties (  )  [protected]

void CDownloadsWnd::OnDldstart (  )  [protected]

void CDownloadsWnd::OnDldstop (  )  [protected]

void CDownloadsWnd::OnDldschedule (  )  [protected]

void CDownloadsWnd::OnDldautostart (  )  [protected]

void CDownloadsWnd::OnSetFocus ( CWnd *  pOldWnd  )  [protected]

void CDownloadsWnd::OnDldaddsection (  )  [protected]

void CDownloadsWnd::OnDlddelsection (  )  [protected]

void CDownloadsWnd::OnDldrestart (  )  [protected]

void CDownloadsWnd::OnDldqsize (  )  [protected]

void CDownloadsWnd::OnDldcreatebatch (  )  [protected]

BOOL CDownloadsWnd::OnEraseBkgnd ( CDC *  pDC  )  [protected]

void CDownloadsWnd::OnDldcheckvir (  )  [protected]

void CDownloadsWnd::OnDldfind (  )  [protected]

void CDownloadsWnd::OnDldfindnext (  )  [protected]

void CDownloadsWnd::OnDldunpack (  )  [protected]

void CDownloadsWnd::OnDldmovedown (  )  [protected]

void CDownloadsWnd::OnDldmoveup (  )  [protected]

void CDownloadsWnd::OnDldcheckintegrity (  )  [protected]

void CDownloadsWnd::OnDldmovetofolder (  )  [protected]

void CDownloadsWnd::OnDldmovebottom (  )  [protected]

void CDownloadsWnd::OnDldmovetop (  )  [protected]

void CDownloadsWnd::OnDldschedulestop (  )  [protected]

void CDownloadsWnd::OnDldgrantbandwidthfordld (  )  [protected]

void CDownloadsWnd::OnDldshowprogressdlg (  )  [protected]

void CDownloadsWnd::OnDldconvert (  )  [protected]

void CDownloadsWnd::OnDldenableseeding (  )  [protected]


Friends And Related Function Documentation

friend class CDownloads_Groups [friend]

Definition at line 91 of file DownloadsWnd.h.

friend class CDownloads_Tasks [friend]

Definition at line 92 of file DownloadsWnd.h.

friend class CDownloaderProperties_MonitorPage [friend]

Definition at line 93 of file DownloadsWnd.h.

friend class CDownloaderProperties_ListPage [friend]

Definition at line 94 of file DownloadsWnd.h.

friend class CDlgExportDownloads [friend]

Definition at line 95 of file DownloadsWnd.h.

friend class CMainFrame [friend]

Definition at line 96 of file DownloadsWnd.h.


Member Data Documentation

Definition at line 133 of file DownloadsWnd.h.

Referenced by _Events(), _threadCheckDldHasOpinions(), ApplyDWWN(), CDownloads_Groups::ApplyNotGroupFilterForDownload(), CDownloadsWnd(), CreateDownloads(), DeleteCompletedDownloadsInList(), DeleteDeadDownloadsInList(), DeleteDownloads(), DeleteDownloadsInList(), CDlgExportDownloads::ExportDownloads(), FilterDownloads(), FilterDownloads2(), IsSizesInBytes(), CDownloaderProperties_ListPage::OnApply(), OnCreate(), OnDldaddsection(), OnDldautostart(), OnDldcheckintegrity(), OnDldcheckvir(), OnDldconvert(), CDownloads_Tasks::OnDldconvert(), OnDldcreatebatch(), OnDlddelete(), OnDlddelsection(), OnDldenableseeding(), OnDldfind(), OnDldfindnext(), OnDldgrantbandwidthfordld(), OnDldHasOpinions(), OnDldlaunch(), OnDldmovebottom(), OnDldmovedown(), OnDldmovetofolder(), OnDldmovetop(), OnDldmoveup(), OnDldopenfolder(), OnDldproperties(), OnDldqsize(), OnDldrestart(), OnDldschedule(), OnDldschedulestop(), OnDldshowprogressdlg(), OnDldstart(), OnDldstop(), OnDldunpack(), OnDLListShowCol(), OnDLLogShowCol(), CDownloads_Opinions_WBEvents::OnDocumentComplete(), CPluginFrame2::OnEraseBkgnd(), CPlugFrame2Tabs::OnEraseBkgnd(), CMainFrame::OnEraseBkgnd(), OnEraseBkgnd(), CDownloads_InfoFrame::OnEraseBkgnd(), CClientAreaWnd::OnEraseBkgnd(), CChildView::OnEraseBkgnd(), CDownloaderProperties_ListPage::OnInitDialog(), OnInsert(), CDownloads_Groups::OnKeydown(), CDownloads_Opinions_WBEvents::OnNavigateError(), CDownloads_Tasks::OnRClick(), OnSetFocus(), OnShowDownloadingInfo(), OnSize(), OnTimer(), OnUpdateMenu(), OnUpdateToolBar(), CDownloads_Tasks::OnUpdateToolBar(), Plugin_GetMenuViewItems(), Plugin_SetLanguage(), RestartDownload(), SaveAll(), SelectDownload(), SetActiveDownload(), ShowDownloads(), StartDownloadsInList(), StopDownloadsInList(), UpdateAllDownloads(), UpdateDLListColMenu(), UpdateDLLogColMenu(), and UpdateDownload().

Definition at line 235 of file DownloadsWnd.h.

Referenced by OnTimer().

Definition at line 238 of file DownloadsWnd.h.

Referenced by _Events(), and CDownloadsWnd().

Definition at line 246 of file DownloadsWnd.h.

Referenced by CDownloadsWnd(), get_TotalSpeed(), and OnTimer().

Definition at line 252 of file DownloadsWnd.h.

Referenced by CDownloadsWnd(), set_DontUpdateTIPO(), and UpdateTrayIconPlusOthers().

Definition at line 254 of file DownloadsWnd.h.

Referenced by FindDownloads_FindNext(), FindDownloads_Start(), and IsFindNextAvail().

Definition at line 256 of file DownloadsWnd.h.

Referenced by ApplyDWWN(), Get_DWWN(), OnCreate(), SaveAll(), and Set_DWWN().

BOOL CDownloadsWnd::m_bShowGroups [protected]

BOOL CDownloadsWnd::m_bExiting [protected]

Definition at line 283 of file DownloadsWnd.h.

Referenced by _Events(), _threadCheckDldHasOpinions(), CDownloadsWnd(), and OnAppExit().

Definition at line 294 of file DownloadsWnd.h.

Referenced by ApplyDWWN(), OnCreate(), OnSize(), and ShowAllGroups().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:45 2008 by  doxygen 1.5.6