void CPlayCenter::AddPlayList(CPlayListInfo spList) { m_spPlayList.insert(std::pair<int,CPlayListInfo>(spList.GetLocalId(),spList)); songsArrayT songArray; m_spSongListMap.insert(std::pair<int,songsArrayT>(spList.GetLocalId(),songArray)); }
void PlayListMgr::AddList(CPlayListInfo playList) { songsArrayT songList; m_spSongListMap.insert(std::pair<int,songsArrayT>(playList.GetLocalId(),songList)); }