コード例 #1
0
ファイル: main.cpp プロジェクト: AugRob/OALWrapper
 Playlist(const stringList& aSongs) :
                                     mStream(0),
                                     mSource(0),
                                     mThreadAlive(false)
 {
     mSongs.assign(aSongs.begin(), aSongs.end());
     mCurrentSong = mSongs.begin();
     Init();
 }
コード例 #2
0
ファイル: main.cpp プロジェクト: AugRob/OALWrapper
 Playlist(int count, const char *const aSongs[]) : mStream(0), mSource(0)
 {
     for (int i = 0; i < count; ++i) {
         mSongs.push_back(aSongs[i]);
     }
     mCurrentSong = mSongs.begin();
     Init();
 }
コード例 #3
0
//指定文字列が文字列リストに存在するかどうかどうかのチェック
bool SNetList::quaryExist(stringList& strlist,string& str)
{
	if(strlist.end() != find(strlist.begin(),strlist.end(),str)) return true;
	else return false;
}