www.pudn.com > CP_IVR.zip > HPlayList.h
// HPlayList.h: interface for the CHPlayList class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_HPLAYLIST_H__67EF55F9_CFC8_4152_AB39_01A9988E5C63__INCLUDED_)
#define AFX_HPLAYLIST_H__67EF55F9_CFC8_4152_AB39_01A9988E5C63__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CHPlayList
{
public:
void Reset();
UINT GetCount();
CString GetLast();
CString GetPrevious();
UINT GetCurrentIndex();
CString GetNext();
void Add(CString adr);
CHPlayList();
virtual ~CHPlayList();
private:
CStringArray m_list;
UINT m_index;
};
#endif // !defined(AFX_HPLAYLIST_H__67EF55F9_CFC8_4152_AB39_01A9988E5C63__INCLUDED_)