00001
00002
00003
00004
00005
00006 #if !defined(AFX_FLASHVIDEODOWNLOADSWND_H__09228685_F3CC_4075_B8A1_430FAACBC81B__INCLUDED_)
00007 #define AFX_FLASHVIDEODOWNLOADSWND_H__09228685_F3CC_4075_B8A1_430FAACBC81B__INCLUDED_
00008
00009 #include "FVDownloads_Tasks.h"
00010 #include "WndSplitter.h"
00011 #if _MSC_VER > 1000
00012 #pragma once
00013 #endif
00014
00015 extern class CFlashVideoDownloadsWnd *_pwndFVDownloads;
00016
00017 class CFlashVideoDownloadsWnd : public CWnd
00018 {
00019
00020 public:
00021 CFlashVideoDownloadsWnd();
00022
00023 public:
00024
00025 public:
00026
00027 static void Plugin_SetLanguage (wgLanguage, HMENU hMenuMain, HMENU);
00028 static void Plugin_GetPluginNames(LPCSTR *ppszLong, LPCSTR *ppszShort);
00029 static void Plugin_GetMenuViewItems(wgMenuViewItem **ppItems, int *cItems);
00030 static void Plugin_GetMenuImages(fsSetImage **ppImages, int *pcImages);
00031 static void Plugin_GetToolBarInfo (wgTButtonInfo **ppButtons, int *pcButtons);
00032 static HWND Plugin_CreateMainWindow (HWND hWndParent);
00033
00034
00035
00036
00037 public:
00038 BOOL CreateDownload (LPCSTR pszUrl = NULL);
00039 static HMENU Plugin_GetViewMenu();
00040 static HMENU Plugin_GetMainMenu();
00041 void SetActiveDownload (vmsDownloadSmartPtr dld);
00042 void SaveAll();
00043 void OnDownloadDone (vmsDownloadSmartPtr dld);
00044 void AddDownload (vmsDownloadSmartPtr dld);
00045 CDownloads_VideoPreview m_wndPreview;
00046 CFVDownloads_Tasks m_wndTasks;
00047 BOOL Create (CWnd *pwndParent);
00048 virtual ~CFlashVideoDownloadsWnd();
00049
00050 protected:
00051 CWndSplitter m_splitter;
00052 afx_msg void OnDLListShowCol (UINT nCmd);
00053 void ApplyLanguageToMenuView(CMenu *menu);
00054 afx_msg LRESULT OnUpdateToolBar (WPARAM, LPARAM);
00055 afx_msg LRESULT OnUpdateMenuView (WPARAM, LPARAM);
00056 afx_msg LRESULT OnUpdateMenu (WPARAM, LPARAM);
00057 afx_msg LRESULT OnAppQueryExit (WPARAM, LPARAM);
00058 afx_msg LRESULT OnAppExit (WPARAM, LPARAM);
00059 afx_msg LRESULT OnInsert (WPARAM, LPARAM);
00060
00061 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00062 afx_msg void OnSize(UINT nType, int cx, int cy);
00063 afx_msg void OnFvdldCreate();
00064 afx_msg void OnFvdldAutostart();
00065 afx_msg void OnFvdldDelete();
00066 afx_msg void OnFvdldLaunch();
00067 afx_msg void OnFvdldOpenfolder();
00068 afx_msg void OnFvdldPasstodlds();
00069 afx_msg void OnFvdldProperties();
00070 afx_msg void OnFvdldStart();
00071 afx_msg void OnFvdldStop();
00072 afx_msg void OnFvdldConvert();
00073
00074 DECLARE_MESSAGE_MAP()
00075 };
00076
00077
00078
00079 #endif