Example #1
0
void CFindOptions::AddStartDir( const DString &startDir )
{
	DString _lowercase = startDir.ToLower();

	for(auto _it : mStartDirVec)
	{
		if(_lowercase.compare(_it.ToLower()) == 0) return;
	}

	mStartDirVec.push_back( startDir );
}
Example #2
0
void CFindOptions::RemoveStartDir( const DString &startDir )
{
	DString _lowercase = startDir.ToLower();

	for(auto _it = mStartDirVec.begin();_it<mStartDirVec.end();_it++)
	{
		if(_lowercase.compare(_it->ToLower()) == 0) 
		{
			mStartDirVec.erase(_it);
			return;
		}
	}
}