mirror of https://github.com/axmolengine/axmol.git
30 lines
492 B
Plaintext
30 lines
492 B
Plaintext
namespace cocos2d {
|
|
|
|
class CCKeypadDelegate
|
|
{
|
|
|
|
void KeypadDestroy();
|
|
|
|
void KeypadKeep();
|
|
|
|
// 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
|
|
|
|
|