mirror of https://github.com/axmolengine/axmol.git
26 lines
439 B
Plaintext
26 lines
439 B
Plaintext
|
namespace cocos2d {
|
||
|
|
||
|
class CCKeypadDelegate
|
||
|
{
|
||
|
|
||
|
// The back key clicked
|
||
|
void keyBackClicked();
|
||
|
|
||
|
// The menu key clicked. only avialble on wophone & android
|
||
|
void keyMenuClicked();
|
||
|
};
|
||
|
|
||
|
|
||
|
class CCKeypadHandler : public CCObject
|
||
|
{
|
||
|
|
||
|
CCKeypadDelegate* getDelegate();
|
||
|
void setDelegate(CCKeypadDelegate *pDelegate);
|
||
|
bool initWithDelegate(CCKeypadDelegate *pDelegate);
|
||
|
|
||
|
};
|
||
|
|
||
|
} //namespace cocos2d
|
||
|
|
||
|
|