- Main Page
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

# SubtitleDlDlg.h

    00001 #pragma once
    00002
    00003 #include "ISDb.h"
    00004 #include "afxwin.h"
    00005
    00006 // CSubtitleDlDlg dialog
    00007
    00008 class CSubtitleDlDlg : public CResizableDialog
    00009 {
    00010 //      DECLARE_DYNAMIC(CSubtitleDlDlg)
    00011
    00012 private:
    00013         CList<isdb_movie> m_movies;
    00014
    00015         enum {COL_FILENAME, COL_LANGUAGE, COL_FORMAT, COL_DISC, COL_TITLES};
    00016
    00017         CImageList m_onoff;
    00018         int GetChecked(int iItem);
    00019         void SetChecked(int iItem, int iChecked);
    00020
    00021 public:
    00022         CSubtitleDlDlg(CList<isdb_movie>& movies, CWnd* pParent = NULL);   // standard constructor
    00023         virtual ~CSubtitleDlDlg();
    00024
    00025         bool m_fReplaceSubs;
    00026         CList<isdb_subtitle> m_selsubs;
    00027
    00028 // Dialog Data
    00029         enum { IDD = IDD_SUBTITLEDLDLG };
    00030         CListCtrl m_list;
    00031
    00032 protected:
    00033         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
    00034         virtual BOOL OnInitDialog();
    00035         virtual void OnOK();
    00036
    00037         DECLARE_MESSAGE_MAP()
    00038
    00039 public:
    00040         afx_msg void OnNMClickList1(NMHDR *pNMHDR, LRESULT *pResult);
    00041         afx_msg void OnUpdateOk(CCmdUI* pCmdUI);
    00042 };