mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 00:45:32 +00:00
34 lines
798 B
Objective-C
34 lines
798 B
Objective-C
//
|
|
// KMInputViewController.h
|
|
// Keyman Engine
|
|
//
|
|
// Copyright (c) 2017 SIL International. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
typedef enum {
|
|
GKTapSwitchToNextKeyboard = 0,
|
|
GKTapSwitchToNextInputMethod,
|
|
GKTapDoNothing
|
|
} GlobeKeyTapBehaviour;
|
|
|
|
typedef enum {
|
|
MenuShowAlways = 0,
|
|
MenuShowIfMultipleKeyboards,
|
|
MenuShowNever
|
|
} MenuBehaviour;
|
|
|
|
@interface KMInputViewController : UIInputViewController
|
|
|
|
@property (strong, nonatomic) UIImageView *topBarImageView;
|
|
@property (strong, nonatomic) NSString *menuCloseButtonTitle;
|
|
@property (assign) BOOL isInputClickSoundEnabled;
|
|
@property (assign) GlobeKeyTapBehaviour globeKeyTapBehaviour;
|
|
@property (assign) MenuBehaviour menuBehaviour;
|
|
|
|
- (BOOL)hasFullAccess;
|
|
+ (BOOL)isPortrait;
|
|
+ (NSUInteger)topBarHeight;
|
|
|
|
@end
|