aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/iphone/iphone_keyboard.h')
-rw-r--r--backends/platform/iphone/iphone_keyboard.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/platform/iphone/iphone_keyboard.h b/backends/platform/iphone/iphone_keyboard.h
index d54df9ac96..ddd8f436e5 100644
--- a/backends/platform/iphone/iphone_keyboard.h
+++ b/backends/platform/iphone/iphone_keyboard.h
@@ -26,7 +26,7 @@
#include <UIKit/UIKit.h>
#include <UIKit/UITextView.h>
-@interface SoftKeyboard : UIView {
+@interface SoftKeyboard : UIView<UITextViewDelegate> {
id inputDelegate;
UITextView *inputView;
}
@@ -36,6 +36,9 @@
- (void)setInputDelegate:(id)delegate;
- (void)handleKeyPress:(unichar)c;
+- (void)showKeyboard;
+- (void)hideKeyboard;
+
@end
#endif