- NSBundle *MediaPlayer = [NSBundle bundleWithPath:@"/System/Library/Frameworks/MediaPlayer.framework"];
- if (MediaPlayer != nil)
- [MediaPlayer load];
-
- $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");
- $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");
-
- WBRename(WebCoreFrameBridge, renderedSizeOfNode:constrainedToWidth:, renderedSizeOfNode$constrainedToWidth$);
-
- WBRename(SBApplication, pathForIcon, pathForIcon);
- WBRename(SBApplicationIcon, icon, icon);
- 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(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$);