Dispatch the keypad message from the phone. More...
#include <CCKeypadDispatcher.h>
Public Member Functions | |
CCKeypadDispatcher () | |
~CCKeypadDispatcher () | |
void | addDelegate (CCKeypadDelegate *pDelegate) |
add delegate to concern keypad msg More... | |
void | removeDelegate (CCKeypadDelegate *pDelegate) |
remove the delegate from the delegates who concern keypad msg More... | |
void | forceAddDelegate (CCKeypadDelegate *pDelegate) |
force add the delegate More... | |
void | forceRemoveDelegate (CCKeypadDelegate *pDelegate) |
force remove the delegate More... | |
bool | dispatchKeypadMSG (ccKeypadMSGType nMsgType) |
dispatch the key pad msg More... | |
Public Member Functions inherited from CCObject | |
CCObject (void) | |
virtual | ~CCObject (void) |
void | release (void) |
void | retain (void) |
CCObject * | autorelease (void) |
CCObject * | copy (void) |
bool | isSingleReference (void) const |
unsigned int | retainCount (void) const |
virtual bool | isEqual (const CCObject *pObject) |
virtual void | acceptVisitor (CCDataVisitor &visitor) |
virtual void | update (float dt) |
Public Member Functions inherited from CCCopying | |
virtual CCObject * | copyWithZone (CCZone *pZone) |
Protected Attributes | |
CCArray * | m_pDelegates |
bool | m_bLocked |
bool | m_bToAdd |
bool | m_bToRemove |
struct _ccCArray * | m_pHandlersToAdd |
struct _ccCArray * | m_pHandlersToRemove |
Protected Attributes inherited from CCObject | |
unsigned int | m_uReference |
unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
unsigned int | m_uID |
int | m_nLuaID |
Dispatch the keypad message from the phone.
~CCKeypadDispatcher | ( | ) |
void addDelegate | ( | CCKeypadDelegate * | pDelegate) |
add delegate to concern keypad msg
bool dispatchKeypadMSG | ( | ccKeypadMSGType | nMsgType) |
dispatch the key pad msg
void forceAddDelegate | ( | CCKeypadDelegate * | pDelegate) |
force add the delegate
void forceRemoveDelegate | ( | CCKeypadDelegate * | pDelegate) |
force remove the delegate
void removeDelegate | ( | CCKeypadDelegate * | pDelegate) |
remove the delegate from the delegates who concern keypad msg
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |