28 lines
750 B
C
28 lines
750 B
C
|
// Playlist.h: interface for the CPlaylist class.
|
||
|
//
|
||
|
//////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
#if !defined(AFX_PLAYLIST_H__F72B480D_36E8_46F2_B515_4C57735AF542__INCLUDED_)
|
||
|
#define AFX_PLAYLIST_H__F72B480D_36E8_46F2_B515_4C57735AF542__INCLUDED_
|
||
|
|
||
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif // _MSC_VER > 1000
|
||
|
|
||
|
class CPlaylist
|
||
|
{
|
||
|
public:
|
||
|
void InitSeed(int iNumber);
|
||
|
unsigned int MakeRandom(int MaxNumber);
|
||
|
CString GetNextWorkFileName(bool bForword, bool bRandom);
|
||
|
CPlaylist();
|
||
|
virtual ~CPlaylist();
|
||
|
CStringArray m_FileList;
|
||
|
int m_TotalFiles;
|
||
|
int m_CurrentFile;
|
||
|
CString m_FilePath;
|
||
|
int m_Seed[1024];
|
||
|
};
|
||
|
|
||
|
#endif // !defined(AFX_PLAYLIST_H__F72B480D_36E8_46F2_B515_4C57735AF542__INCLUDED_)
|