Add CKeyboardKey unit tests to BlackMisc testcases

refs #83
This commit is contained in:
Roland Winklmeier
2014-03-05 21:59:28 +01:00
parent 492a950877
commit f3076372d1
4 changed files with 100 additions and 8 deletions

View File

@@ -195,15 +195,10 @@ namespace BlackMisc
return this->m_modifier1 != ModifierNone || this->m_modifier2 != ModifierNone;
}
//! \brief Modifier?
bool hasModifier() const
{
return this->m_modifier1 != ModifierNone || this->m_modifier2 != ModifierNone;
}
/*!
* \brief Do we have this Modifier?
* \brief Do we have this modifier?
* \param modifier
* \return
*/
bool hasModifier(Modifier modifier) const
{