]> git.saurik.com Git - iphone-api.git/blob - UIKit/UIKeyboardImpl.h
Added some SpringBoardServices work from ashikase.
[iphone-api.git] / UIKit / UIKeyboardImpl.h
1 /*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7 #import <UIKit/UIView.h>
8
9 #import "WebCaretChangeListener-Protocol.h"
10
11 @class NSArray, NSMutableDictionary, NSString, NSTimer, UIAutocorrectInlinePrompt, UIDelayedAction, UIKeyboardInputManager, UIKeyboardLanguageIndicator, UIKeyboardLayout, UITextInputTraits;
12
13 /*XXX:*/typedef struct {
14 unsigned char pathIndex;
15 unsigned char pathIdentity;
16 unsigned char pathProximity;
17 float pathPressure;
18 float pathMajorRadius;
19 struct CGPoint pathLocation;
20 struct __GSWindow *pathWindow;
21 } CDAnonymousStruct13;
22
23 @interface UIKeyboardImpl : UIView <WebCaretChangeListener>
24 {
25 id /*XXX:<UIKeyboardInput>*/ m_delegate;
26 UIKeyboardLanguageIndicator *m_languageIndicator;
27 NSArray *m_userSelectedInputModes;
28 NSString *m_previousInputString;
29 UIKeyboardInputManager *m_inputManager;
30 NSString *m_autocorrection;
31 UIAutocorrectInlinePrompt *m_autocorrectPrompt;
32 UIDelayedAction *m_autocorrectPromptAction;
33 NSArray *m_candidates;
34 id /*XXX:<UIKeyboardCandidateList>*/ m_candidateList;
35 UIKeyboardLayout *m_layout;
36 NSMutableDictionary *m_keyedLayouts;
37 NSString *m_inputModeLastChosen;
38 UIDelayedAction *m_synchronizePreferencesAction;
39 NSTimer *m_autoDeleteTimer;
40 unsigned int m_autoDeleteCount;
41 double m_autoDeleteLastDelete;
42 double m_autoDeleteInterval;
43 unsigned short m_autoDeleteShiftCharacter;
44 UIDelayedAction *m_longPressAction;
45 int m_orientation;
46 UIView *m_caretView;
47 NSTimer *m_caretTimer;
48 struct CGPoint m_inputPoint;
49 int m_changeCount;
50 double m_changeTime;
51 struct __CFRunLoopObserver *m_observer;
52 UITextInputTraits *m_defaultTraits;
53 UITextInputTraits *m_traits;
54 int m_returnKeyState;
55 BOOL m_autoCapitalizationPreference;
56 BOOL m_doubleSpacePeriodPreference;
57 BOOL m_autoDeleteOK;
58 BOOL m_autoShifted;
59 BOOL m_initializationDone;
60 BOOL m_preferencesNeedSynchronization;
61 BOOL m_shift;
62 BOOL m_shiftLockedEnabled;
63 BOOL m_shiftLocked;
64 BOOL m_soundsEnabled;
65 BOOL m_changed;
66 BOOL m_selecting;
67 BOOL m_inDealloc;
68 BOOL m_caretVisible;
69 BOOL m_caretBlinks;
70 BOOL m_caretShowingNow;
71 BOOL m_updatingPreferences;
72 BOOL m_anotherTouchWaiting;
73 BOOL m_performDecomposingDelete;
74 BOOL m_delegateIsSMSTextView;
75 BOOL m_performanceLoggingEnabled;
76 BOOL m_shouldSkipCandidateSelection;
77 BOOL m_autocorrectPromptTimerFired;
78 BOOL m_userChangedSelection;
79 BOOL m_shouldChargeKeys;
80 BOOL m_longPress;
81 BOOL m_syntheticInput;
82 }
83
84 + (id)sharedInstance;
85 + (id)activeInstance;
86 + (void)releaseSharedInstance;
87 + (struct CGSize)defaultSize;
88 + (struct CGSize)defaultSizeForOrientation:(int)fp8;
89 + (struct CGSize)defaultSizeForInterfaceOrientation:(int)fp8;
90 + (int)orientationForSize:(struct CGSize)fp8;
91 - (id)initWithFrame:(struct CGRect)fp8;
92 - (void)delayedInit;
93 - (void)dealloc;
94 - (void)clearLayouts;
95 - (void)removeFromSuperview;
96 - (void)applicationSuspendedEventsOnly:(id)fp8;
97 - (void)applicationResumedEventsOnly:(id)fp8;
98 - (void)defaultsDidChange;
99 - (void)defaultsDidChange:(id)fp8;
100 - (void)synchronizePreferencesIfNeeded;
101 - (void)synchronizePreferences;
102 - (void)touchSynchronizePreferencesTimer;
103 - (void)clearSynchronizePreferencesTimer;
104 - (BOOL)performanceLoggingPreference;
105 - (BOOL)autoCapitalizationPreference;
106 - (BOOL)doubleSpacePeriodPreference;
107 - (id)UILanguagePreference;
108 - (BOOL)keyboardsExpandedPreference;
109 - (void)setKeyboardsExpandedPreference;
110 - (id)inputModePreference;
111 - (id)localePreference;
112 - (void)setInputModePreference;
113 - (id)inputModeFirstPreference;
114 - (id)inputModeLastChosenPreference;
115 - (void)setInputModeLastChosenPreference;
116 - (id)inputModeLastUsedPreference;
117 - (void)setInputModeLastUsedPreference;
118 - (BOOL)shiftLockPreference;
119 - (void)setInputMode:(id)fp8;
120 - (void)setInputModeIfDifferentThanCurrent:(id)fp8;
121 - (void)setInputModeFromPreferences;
122 - (void)showInputModeIndicator;
123 - (void)fadeAnimationDidStop:(id)fp8 finished:(id)fp12;
124 - (void)setInputModeToNextInPreferredList;
125 - (void)setInputModeToNextASCIICapableInPreferredList;
126 - (void)setOrientationForSize:(struct CGSize)fp8;
127 - (void)setFrame:(struct CGRect)fp8;
128 - (void)updateLayoutForInterfaceOrientation:(int)fp8;
129 - (void)takeTextInputTraitsFrom:(id)fp8;
130 - (id)delegate;
131 - (void)setDelegate:(id)fp8;
132 - (void)setDelegate:(id)fp8 force:(BOOL)fp12;
133 - (BOOL)delegateIsSMSTextView;
134 - (void)textChanged:(id)fp8;
135 - (void)setDefaultTextInputTraits:(id)fp8;
136 - (id)textInputTraits;
137 - (void)enable;
138 - (BOOL)callShouldInsertText:(id)fp8;
139 - (BOOL)callShouldDelete;
140 - (void)callChangedSelection;
141 - (id)callInputOverlayContainer;
142 - (int)callPositionForAutocorrection:(id)fp8;
143 - (void)callChanged;
144 - (void)setChanged;
145 - (void)clearChangedDelegate;
146 - (void)clearInputManager;
147 - (void)handleObserverCallback;
148 - (void)prepareForGeometryChange;
149 - (void)geometryChangeDone:(BOOL)fp8;
150 - (void)updateLayout;
151 - (int)orientation;
152 - (void)prepareForSelectionChange;
153 - (void)updateSelectionWithPoint:(struct CGPoint)fp8;
154 - (void)updateForChangedSelection;
155 - (void)updateInputManagerAutoShiftFlag;
156 - (void)updateShift;
157 - (void)setShift:(BOOL)fp8;
158 - (void)setShift:(BOOL)fp8 autoshift:(BOOL)fp12;
159 - (void)setShiftLocked;
160 - (BOOL)isShifted;
161 - (BOOL)isAutoShifted;
162 - (BOOL)isShiftLocked;
163 - (BOOL)shiftLockedEnabled;
164 - (BOOL)shouldSkipCandidateSelection;
165 - (void)setShouldSkipCandidateSelection:(BOOL)fp8;
166 - (void)installCaret;
167 - (void)clearCaret;
168 - (void)hideCaret:(int)fp8;
169 - (void)showCaret:(int)fp8;
170 - (void)caretBlinkTimerFired:(id)fp8;
171 - (void)clearCaretBlinkTimer;
172 - (void)touchCaretBlinkTimer;
173 - (void)startCaretBlinkIfNeeded;
174 - (void)setCaretBlinks:(BOOL)fp8;
175 - (void)setCaretVisible:(BOOL)fp8;
176 - (BOOL)caretBlinks;
177 - (BOOL)caretVisible;
178 - (void)updateCaretRect;
179 - (void)caretChanged;
180 - (void)keyActivated;
181 - (void)keyDeactivated;
182 - (void)setInputPoint:(struct CGPoint)fp8;
183 - (void)handleDeleteAsRepeat:(BOOL)fp8;
184 - (void)handleDelete;
185 - (void)handleStringInput:(id)fp8;
186 - (BOOL)acceptInputString:(id)fp8;
187 - (void)setPreviousInputString:(id)fp8;
188 - (void)addInputString:(id)fp8;
189 - (void)setInputString:(id)fp8;
190 - (BOOL)shouldEnableShiftForDeletedCharacter:(unsigned short)fp8;
191 - (void)updateLayoutAndSetShift;
192 - (void)handleDeleteWithZeroInputCount;
193 - (void)handleDeleteWithNonZeroInputCount;
194 - (void)deleteFromInput;
195 - (void)acceptAutocorrection;
196 - (void)acceptCandidate:(id)fp8 atIndex:(unsigned int)fp12;
197 - (void)acceptCurrentCandidate;
198 - (void)acceptCurrentCandidateIfSelected;
199 - (void)showNextCandidates;
200 - (void)candidateListAcceptCandidate:(id)fp8;
201 - (void)candidateListSelectionDidChange:(id)fp8;
202 - (id)candidateList;
203 - (void)clearInput;
204 - (void)setInputObject:(id)fp8;
205 - (void)addInputObject:(id)fp8;
206 - (void)clearTransientState;
207 - (void)clearAnimations;
208 - (void)acceptWord:(id)fp8 firstDelete:(unsigned int)fp12 addString:(id)fp16;
209 - (BOOL)_shouldSuggestUserEnteredString:(id)fp8;
210 - (BOOL)displaysCandidates;
211 - (void)updateCandidateDisplayAsyncWithCandidates:(id)fp8 forInputManager:(id)fp12;
212 - (void)updateCandidateDisplay;
213 - (void)setAutocorrection:(id)fp8;
214 - (id)autocorrectPrompt;
215 - (void)removeAutocorrectPrompt;
216 - (void)setCandidates:(id)fp8;
217 - (int)returnKeyType;
218 - (BOOL)returnKeyEnabled;
219 - (void)setReturnKeyEnabled:(BOOL)fp8;
220 - (void)updateReturnKey;
221 - (void)updateReturnKey:(BOOL)fp8;
222 - (id)manuallySelectedOverlay;
223 - (id)automaticallySelectedOverlay;
224 - (id)inputOverlayContainer;
225 - (void)updateTextCandidateView;
226 - (struct CGRect)convertRectToAutocorrectRect:(struct CGRect)fp8 delegateView:(id)fp24 container:(id)fp28;
227 - (void)touchAutocorrectPromptTimer;
228 - (void)clearAutocorrectPromptTimer;
229 - (void)updateAutocorrectPromptAction;
230 - (void)updateAutocorrectPrompt:(id)fp8;
231 - (void)animateAutocorrection;
232 - (void)fadeAutocorrectPrompt;
233 - (void)autocorrectionAnimationDidStop:(id)fp8 finished:(id)fp12 context:(void *)fp16;
234 - (void)delegateSuggestionsForCurrentInput;
235 - (void)generateCandidates:(BOOL)fp8;
236 - (BOOL)shouldChargeKeys;
237 - (struct __CFDictionary *)chargedKeyProbabilities;
238 - (void)touchAutoDeleteTimerWithThreshold:(double)fp8;
239 - (void)autoDeleteTimerFired:(id)fp8;
240 - (void)startAutoDeleteTimer;
241 - (void)stopAutoDelete;
242 - (void)touchLongPressTimer;
243 - (void)clearLongPressTimer;
244 - (void)longPressAction;
245 - (BOOL)isLongPress;
246 - (void)clearTimers;
247 - (void)clearChangeTimeAndCount;
248 - (void)updateChangeTimeAndIncrementCount;
249 - (void)initializeSounds;
250 - (void)playKeyboardSound:(unsigned long)fp8;
251 - (void)setSoundsEnabled:(BOOL)fp8;
252 - (void)setAnotherTouchWaiting:(BOOL)fp8;
253 - (void)handleHardwareKeyDownFromSimulator:(struct __GSEvent *)fp8;
254 - (void)timeMark:(unsigned int)fp8 message:(id)fp12;
255 - (void)timeMark:(unsigned int)fp8;
256 - (void)timeElapsed:(unsigned int)fp8 message:(id)fp12;
257 - (BOOL)canHandleKeyHitTest;
258 - (void)clearKeyAreas;
259 - (void)registerKeyArea:(struct CGPoint)fp8 withRadii:(struct CGPoint)fp16 forKeyCode:(unsigned short)fp24 forLowerKey:(id)fp28 forUpperKey:(id)fp32;
260 - (int)keyHitTest:(struct CGPoint)fp8 touchStage:(int)fp16 atTime:(double)fp20 withPathInfo:(CDAnonymousStruct13 *)fp28 forceShift:(BOOL)fp32;
261 - (BOOL)keySlidIntoSwipe;
262
263 @end
264