home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_PLAYLISTDLG_H__2039F5FD_CF95_4031_81A0_888F224F7E93__INCLUDED_)
- #define AFX_PLAYLISTDLG_H__2039F5FD_CF95_4031_81A0_888F224F7E93__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // PlayListDlg.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CPlayListDlg dialog
- class CPlayListBox: public CListBox
- {
- public:
- CPlayListBox(){}
- ~CPlayListBox(){}
- protected:
- LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
- };
-
- class CPlayListDlg : public CDialog
- {
- // Construction
- int m_CurFileID;
- public:
- void SetCurFileID(int curId);
- void AddFile(CString fullpath);
- CPlayListDlg(CWnd* pParent = NULL); // standard constructor
- CString GetCurMediaPath();
- CString GetNextMediaPath();
- CString GetPrevMediaPath();
- CTypedPtrMap<CMapStringToString,CString,CString> m_PlayListMap;
- void FillPlayList();
- // Dialog Data
- //{{AFX_DATA(CPlayListDlg)
- enum { IDD = IDD_PLAYLIST };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
-
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPlayListDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
-
- CPlayListBox m_myLb;
- // Generated message map functions
- //{{AFX_MSG(CPlayListDlg)
- afx_msg void OnAddFiles();
- afx_msg void OnDeleteFiles();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- virtual BOOL OnInitDialog();
- afx_msg void OnClose();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_PLAYLISTDLG_H__2039F5FD_CF95_4031_81A0_888F224F7E93__INCLUDED_)
-