#define ShowInternals (0 && !ForRelease)
#define IgnoreInstall (0 && !ForRelease)
#define RecycleWebViews 0
+#define RotationEnabled 1
#define RecyclePackageViews (1 && ForRelease)
#define AlwaysReload (1 && !ForRelease)
@implementation CYViewController
@end
/* }}} */
-
+/* Cydia Browser Controller {{{ */
@interface CYBrowserController : BrowserController {
CydiaObject *cydia_;
}
}
@end
+/* }}} */
+/* Confirmation {{{ */
@protocol ConfirmationControllerDelegate
- (void) cancelAndClear:(bool)clear;
- (void) confirmWithNavigationController:(UINavigationController *)navigation;
}
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
- // XXX: this should be a compile-time flag
+#ifdef RotationEnabled
return YES;
+#else
+ return NO;
+#endif
}
- (void) setTabBarController:(UITabBarController *)controller {