]> git.saurik.com Git - cydia.git/commitdiff
Move WebPreferences (Apple) into iPhonePrivate.h.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 22 Mar 2011 01:43:01 +0000 (18:43 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 22 Mar 2011 01:43:01 +0000 (18:43 -0700)
CyteKit/WebViewController.mm
iPhonePrivate.h

index 3e77a518abfa667203c3c081ed204ad5b26823ee..17f19cba1c8a8e31bf87aa55a338e300cf77fa3b 100644 (file)
@@ -16,8 +16,8 @@ extern NSString * const kCAFilterNearest;
 
 #include <WebCore/WebCoreThread.h>
 
-#include <WebKit/WebKitErrors.h>
-#include <WebKit/WebPreferences.h>
+#import <WebKit/WebKitErrors.h>
+#import <WebKit/WebPreferences.h>
 
 #include <WebKit/DOMCSSPrimitiveValue.h>
 #include <WebKit/DOMCSSStyleDeclaration.h>
@@ -47,12 +47,6 @@ float CYScrollViewDecelerationRateNormal;
 - (void) _setAllowsMessaging:(BOOL)allows;
 @end
 
-@interface WebPreferences (Apple)
-+ (void) _setInitialDefaultTextEncodingToSystemEncoding;
-- (void) _setLayoutInterval:(NSInteger)interval;
-- (void) setOfflineWebApplicationCacheEnabled:(BOOL)enabled;
-@end
-
 @implementation WebFrame (Cydia)
 
 - (NSString *) description {
index cddfe9cbdb8cbdca61972a1004ca98c898d0a52b..c17da9167fd96e7f311bd23fdc983c0b51ef0f58 100644 (file)
@@ -4,6 +4,9 @@
 // #include <*> {{{
 #include <GraphicsServices/GraphicsServices.h>
 // }}}
+// #import <*> {{{
+#import <WebKit/WebPreferences.h>
+// }}}
 // typedef enum {*} *; {{{
 typedef enum {
     UIGestureAttributeMinDegrees,                 /*float*/
@@ -331,6 +334,13 @@ typedef enum {
 - (void) webViewClose:(WebView *)view;
 @end
 // }}}
+// @interface Web* (*) {{{
+@interface WebPreferences (Apple)
++ (void) _setInitialDefaultTextEncodingToSystemEncoding;
+- (void) _setLayoutInterval:(NSInteger)interval;
+- (void) setOfflineWebApplicationCacheEnabled:(BOOL)enabled;
+@end
+// }}}
 
 // #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{
 #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER