mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Save/load buzzer state.
This commit is contained in:
parent
1524bbcea1
commit
d0dd51a235
7 changed files with 90 additions and 6 deletions
|
@ -1,8 +1,13 @@
|
|||
#include "PadHandler.h"
|
||||
|
||||
void CPadHandler::InsertListener(CPadInterface* pListener)
|
||||
void CPadHandler::InsertListener(CPadInterface* listener)
|
||||
{
|
||||
m_interfaces.push_back(pListener);
|
||||
m_interfaces.push_back(listener);
|
||||
}
|
||||
|
||||
bool CPadHandler::HasListener(CPadInterface* listener) const
|
||||
{
|
||||
return std::find(m_interfaces.begin(), m_interfaces.end(), listener) != m_interfaces.end();
|
||||
}
|
||||
|
||||
void CPadHandler::RemoveAllListeners()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue