CDownloads_VideoPreview Class Reference

#include <Downloads_VideoPreview.h>

List of all members.

Public Member Functions

 CDownloads_VideoPreview ()
virtual ~CDownloads_VideoPreview ()
BOOL IsMuteAvail ()
BOOL IsPaused ()
BOOL IsPauseAvail ()
BOOL IsPlaying ()
void set_InFVDownloads (BOOL b)
void Convert ()
void ApplyLanguage ()
void SaveState ()
void UpdateCommand (UINT nID, BOOL *pbEnabled, BOOL *pbChecked)
CString GetDuration ()
UINT64 Get_AvailFileSize ()
UINT64 Get_FileSize ()
CString Get_FileName ()
void Set_Volume (long lVolume)
fsPartMediaPlayerGet_Player ()
void Play ()
vmsDownloadSmartPtr Get_ActiveDownload ()
void Pause ()
void Stop ()
BOOL Create (CWnd *pWndParent)
void Set_ActiveDownload (vmsDownloadSmartPtr dld)

Public Attributes

CVideoWindow m_wndVideo

Protected Member Functions

virtual LRESULT WindowProc (UINT message, WPARAM wParam, LPARAM lParam)
BOOL OpenFile ()
void CloseFile ()
afx_msg LRESULT OnGraphMessage (WPARAM, LPARAM)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)

Protected Attributes

BOOL m_bUsingVideo2
CShockwaveFlash m_wndVideo2
DWORD m_dwDXVersion
CDlgVidSeek m_vidseek
CDlgVidMan m_vidman
HANDLE m_hFile
vmsDownloadSmartPtr m_pActiveDownload

Friends

class CDownloadsWnd


Detailed Description

Definition at line 19 of file Downloads_VideoPreview.h.


Constructor & Destructor Documentation

CDownloads_VideoPreview::CDownloads_VideoPreview (  ) 

CDownloads_VideoPreview::~CDownloads_VideoPreview (  )  [virtual]

Definition at line 27 of file Downloads_VideoPreview.cpp.


Member Function Documentation

BOOL CDownloads_VideoPreview::IsMuteAvail (  ) 

Definition at line 439 of file Downloads_VideoPreview.cpp.

References m_bUsingVideo2.

Referenced by CDlgVidMan::UpdateCommand(), and CDlgVidMan::UpdateEnabled().

BOOL CDownloads_VideoPreview::IsPaused (  ) 

BOOL CDownloads_VideoPreview::IsPauseAvail (  ) 

Definition at line 427 of file Downloads_VideoPreview.cpp.

References m_bUsingVideo2.

Referenced by CDlgVidMan::UpdateCommand().

BOOL CDownloads_VideoPreview::IsPlaying (  ) 

void CDownloads_VideoPreview::set_InFVDownloads ( BOOL  b  ) 

void CDownloads_VideoPreview::Convert (  ) 

void CDownloads_VideoPreview::ApplyLanguage (  ) 

void CDownloads_VideoPreview::SaveState (  ) 

Definition at line 371 of file Downloads_VideoPreview.cpp.

References m_vidman, and CDlgVidMan::SaveSettings().

Referenced by CDownloads_Info::SaveState().

void CDownloads_VideoPreview::UpdateCommand ( UINT  nID,
BOOL *  pbEnabled,
BOOL *  pbChecked 
)

CString CDownloads_VideoPreview::GetDuration (  ) 

Definition at line 361 of file Downloads_VideoPreview.cpp.

References CDlgVidSeek::GetDuration(), and m_vidseek.

Referenced by CDlgVidMan::Update().

UINT64 CDownloads_VideoPreview::Get_AvailFileSize (  ) 

UINT64 CDownloads_VideoPreview::Get_FileSize (  ) 

Definition at line 306 of file Downloads_VideoPreview.cpp.

References m_pActiveDownload, and NULL.

Referenced by CDlgVidMan::Update().

CString CDownloads_VideoPreview::Get_FileName (  ) 

Definition at line 295 of file Downloads_VideoPreview.cpp.

References CDownloads_Tasks::GetFileName(), m_pActiveDownload, and NULL.

Referenced by CDlgVidMan::Update().

void CDownloads_VideoPreview::Set_Volume ( long  lVolume  ) 

fsPartMediaPlayer * CDownloads_VideoPreview::Get_Player (  ) 

Definition at line 274 of file Downloads_VideoPreview.cpp.

References CVideoWindow::m_player, and m_wndVideo.

Referenced by IsPaused(), IsPlaying(), OnGraphMessage(), Play(), and Set_Volume().

void CDownloads_VideoPreview::Play (  ) 

vmsDownloadSmartPtr CDownloads_VideoPreview::Get_ActiveDownload (  ) 

void CDownloads_VideoPreview::Pause (  ) 

void CDownloads_VideoPreview::Stop (  ) 

BOOL CDownloads_VideoPreview::Create ( CWnd *  pWndParent  ) 

Definition at line 51 of file Downloads_VideoPreview.cpp.

References FALSE, NULL, and TRUE.

Referenced by CFlashVideoDownloadsWnd::OnCreate(), and CDownloads_Info::OnCreate().

void CDownloads_VideoPreview::Set_ActiveDownload ( vmsDownloadSmartPtr  dld  ) 

LRESULT CDownloads_VideoPreview::WindowProc ( UINT  message,
WPARAM  wParam,
LPARAM  lParam 
) [protected, virtual]

BOOL CDownloads_VideoPreview::OpenFile (  )  [protected]

Definition at line 376 of file Downloads_VideoPreview.cpp.

References CloseFile(), FALSE, fsErrorToStr(), L_ERR, L_FAILEDTOOPENFILE, LS, m_hFile, m_pActiveDownload, NULL, and TRUE.

Referenced by Play().

void CDownloads_VideoPreview::CloseFile (  )  [protected]

Definition at line 398 of file Downloads_VideoPreview.cpp.

References m_hFile.

Referenced by OpenFile(), Play(), and Stop().

LRESULT CDownloads_VideoPreview::OnGraphMessage ( WPARAM  ,
LPARAM   
) [protected]

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

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

Definition at line 81 of file Downloads_VideoPreview.cpp.

References m_bUsingVideo2, m_vidman, m_vidseek, m_wndVideo, and m_wndVideo2.

Referenced by CDlgVidSeek::OnSize().

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


Friends And Related Function Documentation

friend class CDownloadsWnd [friend]

Definition at line 21 of file Downloads_VideoPreview.h.


Member Data Documentation

Definition at line 71 of file Downloads_VideoPreview.h.

Referenced by OnSize(), Play(), and Stop().

Definition at line 76 of file Downloads_VideoPreview.h.

Referenced by CDownloads_VideoPreview(), and Play().

Definition at line 80 of file Downloads_VideoPreview.h.

Referenced by GetDuration(), OnCreate(), OnSize(), Play(), and Stop().

Definition at line 83 of file Downloads_VideoPreview.h.

Referenced by CDownloads_VideoPreview(), CloseFile(), OpenFile(), and Play().


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

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