+ $MPMoviePlayerController = objc_getClass("MPMoviePlayerController");
+ $MPVideoView = objc_getClass("MPVideoView");
+ }
+
+ $WebCoreFrameBridge = objc_getClass("WebCoreFrameBridge");
+
+ $SBApplication = objc_getClass("SBApplication");
+ $SBApplicationIcon = objc_getClass("SBApplicationIcon");
+ $SBAwayView = objc_getClass("SBAwayView");
+ $SBBookmarkIcon = objc_getClass("SBBookmarkIcon");
+ $SBButtonBar = objc_getClass("SBButtonBar");
+ $SBCalendarIconContentsView = objc_getClass("SBCalendarIconContentsView");
+ $SBDockIconListView = objc_getClass("SBDockIconListView");
+ $SBIcon = objc_getClass("SBIcon");
+ $SBIconBadge = objc_getClass("SBIconBadge");
+ $SBIconController = objc_getClass("SBIconController");
+ $SBIconLabel = objc_getClass("SBIconLabel");
+ $SBIconList = objc_getClass("SBIconList");
+ $SBIconModel = objc_getClass("SBIconModel");
+ //$SBImageCache = objc_getClass("SBImageCache");
+ $SBSearchView = objc_getClass("SBSearchView");
+ $SBSearchTableViewCell = objc_getClass("SBSearchTableViewCell");
+ $SBStatusBarContentsView = objc_getClass("SBStatusBarContentsView");
+ $SBStatusBarController = objc_getClass("SBStatusBarController");
+ $SBStatusBarOperatorNameView = objc_getClass("SBStatusBarOperatorNameView");
+ $SBStatusBarTimeView = objc_getClass("SBStatusBarTimeView");
+ $SBUIController = objc_getClass("SBUIController");
+ $SBWidgetApplicationIcon = objc_getClass("SBWidgetApplicationIcon");
+
+ Four_ = $SBDockIconListView != nil;
+
+ WBRename(WebCoreFrameBridge, renderedSizeOfNode:constrainedToWidth:, renderedSizeOfNode$constrainedToWidth$);
+
+ if (SummerBoard_) {
+ WBRename(SBApplication, pathForIcon, pathForIcon);
+ WBRename(SBApplicationIcon, icon, icon);
+ WBRename(SBApplicationIcon, generateIconImage:, generateIconImage$);
+ }
+
+ WBRename(SBBookmarkIcon, icon, icon);
+ WBRename(SBButtonBar, didMoveToSuperview, didMoveToSuperview);
+ WBRename(SBCalendarIconContentsView, drawRect:, drawRect$);
+ WBRename(SBIcon, setAlpha:, setAlpha$);
+ WBRename(SBIconBadge, initWithBadge:, initWithBadge$);
+ WBRename(SBIconController, noteNumberOfIconListsChanged, noteNumberOfIconListsChanged);
+ WBRename(SBUIController, init, init);
+ WBRename(SBWidgetApplicationIcon, icon, icon);
+
+ WBRename(SBDockIconListView, setFrame:, setFrame$);
+ MSHookMessage(object_getClass($SBDockIconListView), @selector(shouldShowNewDock), &$SBDockIconListView$shouldShowNewDock, &_SBDockIconListView$shouldShowNewDock);
+
+ WBRename(SBIconLabel, drawRect:, drawRect$);
+ WBRename(SBIconLabel, initWithSize:label:, initWithSize$label$);
+ WBRename(SBIconLabel, setInDock:, setInDock$);
+
+ WBRename(SBIconList, setFrame:, setFrame$);
+
+ WBRename(SBIconModel, cacheImageForIcon:, cacheImageForIcon$);
+ WBRename(SBIconModel, cacheImagesForIcon:, cacheImagesForIcon$);
+ WBRename(SBIconModel, getCachedImagedForIcon:, getCachedImagedForIcon$);
+ WBRename(SBIconModel, getCachedImagedForIcon:smallIcon:, getCachedImagedForIcon$smallIcon$);
+
+ WBRename(SBSearchView, initWithFrame:, initWithFrame$);
+ WBRename(SBSearchTableViewCell, drawRect:, drawRect$);
+ WBRename(SBSearchTableViewCell, initWithStyle:reuseIdentifier:, initWithStyle$reuseIdentifier$);
+
+ //WBRename(SBImageCache, initWithName:forImageWidth:imageHeight:initialCapacity:, initWithName$forImageWidth$imageHeight$initialCapacity$);
+
+ WBRename(SBAwayView, updateDesktopImage:, updateDesktopImage$);
+ WBRename(SBStatusBarContentsView, didMoveToSuperview, didMoveToSuperview);
+ //WBRename(SBStatusBarContentsView, initWithStatusBar:mode:, initWithStatusBar$mode$);
+ //WBRename(SBStatusBarController, setStatusBarMode:orientation:duration:animation:, setStatusBarMode$orientation$duration$animation$);
+ WBRename(SBStatusBarController, setStatusBarMode:orientation:duration:fenceID:animation:, setStatusBarMode$orientation$duration$fenceID$animation$);
+ WBRename(SBStatusBarController, setStatusBarMode:orientation:duration:fenceID:animation:startTime:, setStatusBarMode$orientation$duration$fenceID$animation$startTime$);
+ WBRename(SBStatusBarOperatorNameView, operatorNameStyle, operatorNameStyle);
+ WBRename(SBStatusBarOperatorNameView, setOperatorName:fullSize:, setOperatorName$fullSize$);
+ WBRename(SBStatusBarTimeView, drawRect:, drawRect$);
+
+ if (SummerBoard_)
+ English_ = [[NSDictionary alloc] initWithContentsOfFile:@"/System/Library/CoreServices/SpringBoard.app/English.lproj/LocalizedApplicationNames.strings"];
+
+ Cache_ = [[NSMutableDictionary alloc] initWithCapacity:64];
+// }}}
+ }
+
+ Wallpapers_ = [[NSArray arrayWithObjects:@"Wallpaper.mp4", @"Wallpaper.png", @"Wallpaper.jpg", @"Wallpaper.html", nil] retain];
+ Papered_ = $getTheme$(Wallpapers_) != nil;
+
+ Docked_ = $getTheme$([NSArray arrayWithObjects:@"Dock.png", nil]);