- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
struct TPlaylist
{
bool shuffle;
bool loop;
//...........................................
typedef map<TString, TPlaylist> TPlaylistsdMap;
//............................................
bool StartPlay(const TString& playlistID, int shuffle = false, int loop = false....
{
TPlaylistsdMap::iterator iter = mPlaylists.find(playlistID);
if (iter != mPlaylists.end())
{
if (shuffle != -1) iter->second.shuffle = shuffle;
if (loop != -1) iter->second.loop = loop;
//.............................................
Комментарии (0) RSS
Добавить комментарий