X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/8dbf3abcb8f58f116d61a604201a8f53732471a9..6c4239e5a483511e5ca2f2c8be2c27b51cf50f93:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index 73a2bee3..42a700d8 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -9,6 +9,7 @@ #import #import #import +#import // }}} // typedef enum {*} *; {{{ typedef enum { @@ -39,7 +40,6 @@ static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny( // @class Web*; {{{ @class WebDataSource; @class WebScriptObject; -@class WebView; // }}} // @protocol *; {{{ @protocol WebPolicyDecisionListener; @@ -210,6 +210,9 @@ static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny( @end @interface UIApplication (Apple) +- (void) suspendReturningToLastApp:(BOOL)returning; +- (void) suspend; +- (void) applicationSuspend; - (void) applicationSuspend:(GSEventRef)event; - (void) _animateSuspension:(BOOL)suspend duration:(double)duration startTime:(double)start scale:(float)scale; - (void) applicationOpenURL:(NSURL *)url; @@ -348,6 +351,13 @@ static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny( - (void) _setLayoutInterval:(NSInteger)interval; - (void) setOfflineWebApplicationCacheEnabled:(BOOL)enabled; @end + +@interface WebView (Apple) +- (void) _preferencesChanged:(WebPreferences *)preferences; +- (void) _preferencesChangedNotification:(NSNotification *)notification; +- (void) _setLayoutInterval:(float)interval; +- (void) _setAllowsMessaging:(BOOL)allows; +@end // }}} // #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{