Skip to content

Commit 08ca809

Browse files
committed
fix ccimedelegate virtuals
1 parent 02cee65 commit 08ca809

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

loader/include/Geode/cocos/text_input_node/CCIMEDelegate.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ class CC_DLL CCIMEDelegate
9090
*/
9191
virtual void deleteBackward() {}
9292

93+
/**
94+
@brief Called by CCIMEDispatcher after the user clicks the delete-forward key.
95+
*/
96+
virtual void deleteForward() {}
97+
9398
/**
9499
@brief Called by CCIMEDispatcher for text stored in delegate.
95100
*/
@@ -103,8 +108,6 @@ class CC_DLL CCIMEDelegate
103108
virtual void keyboardWillHide(CCIMEKeyboardNotificationInfo& info) {CC_UNUSED_PARAM(info);}
104109
virtual void keyboardDidHide(CCIMEKeyboardNotificationInfo& info) {CC_UNUSED_PARAM(info);}
105110

106-
virtual void deleteForward();
107-
108111
protected:
109112
CCIMEDelegate();
110113
};

0 commit comments

Comments
 (0)