#endif
/* }}} */
+@interface UIApplication (IdleTimer)
+- (void) setIdleTimerDisabled:(char)arg0;
+@end
+
#ifdef __OBJC2__
typedef enum {
kUIProgressIndicatorStyleMediumWhite = 1,
#endif
[delegate_ setStatusBarShowsProgress:NO];
- //[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
running_ = NO;
}
readlink("/usr/libexec", NULL, 0) == -1 && errno == EINVAL ||
readlink("/usr/share", NULL, 0) == -1 && errno == EINVAL
) {
+ [self setIdleTimerDisabled:YES];
+
hud_ = [[UIProgressHUD alloc] initWithWindow:window_];
[hud_ setText:@"Reorganizing\n\nWill Automatically\nRestart When Done"];
[hud_ show:YES];