Support unrar64.dll
[xy_vsfilter.git] / src / apps / mplayerc / SubtitleDlDlg.h
blobfcf3f057e2db763b7c9bac368727b5275e754c6c
1 #pragma once
3 #include "ISDb.h"
4 #include "afxwin.h"
6 // CSubtitleDlDlg dialog
8 class CSubtitleDlDlg : public CResizableDialog
10 // DECLARE_DYNAMIC(CSubtitleDlDlg)
12 private:
13 CList<isdb_movie> m_movies;
15 enum {COL_FILENAME, COL_LANGUAGE, COL_FORMAT, COL_DISC, COL_TITLES};
17 CImageList m_onoff;
18 int GetChecked(int iItem);
19 void SetChecked(int iItem, int iChecked);
21 public:
22 CSubtitleDlDlg(CList<isdb_movie>& movies, CWnd* pParent = NULL); // standard constructor
23 virtual ~CSubtitleDlDlg();
25 bool m_fReplaceSubs;
26 CList<isdb_subtitle> m_selsubs;
28 // Dialog Data
29 enum { IDD = IDD_SUBTITLEDL_DLG };
30 CListCtrl m_list;
32 protected:
33 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
34 virtual BOOL OnInitDialog();
35 virtual void OnOK();
37 DECLARE_MESSAGE_MAP()
39 public:
40 afx_msg void OnNMClickList1(NMHDR *pNMHDR, LRESULT *pResult);
41 afx_msg void OnUpdateOk(CCmdUI* pCmdUI);