typedef struct { CCRect begin; // the soft keyboard rectangle when animatin begin CCRect end; // the soft keyboard rectangle when animatin end float duration; // the soft keyboard animation duration } CCIMEKeyboardNotificationInfo; class CCIMEDelegate { bool attachWithIME(); bool detachWithIME(); };