Changeset 678
- Timestamp:
- 10/03/08 20:04:10 (3 months ago)
- Files:
-
- trunk/SapphireCompatibilityClasses/BRVideoPlayerController.h (added)
- trunk/SapphireCompatibilityClasses/BRVideoPlayerController.m (added)
- trunk/SapphireCompatibilityClasses/SapphireCompatibilityClasses.xcodeproj/project.pbxproj (modified) (13 diffs)
- trunk/SapphireCompatibilityClasses/SapphireFrontRowCompat.h (modified) (1 diff)
- trunk/SapphireCompatibilityClasses/SapphireTakeTwoPointTwoCompatClasses-Info.plist (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SapphireCompatibilityClasses/SapphireCompatibilityClasses.xcodeproj/project.pbxproj
r497 r678 37 37 F51BFD220D26BD8900E22363 /* ExceptionHandling.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F51BFD210D26BD8900E22363 /* ExceptionHandling.framework */; }; 38 38 F51BFD550D26BEF900E22363 /* BackRowUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = F51BFD540D26BEF900E22363 /* BackRowUtils.h */; settings = {ATTRIBUTES = (Public, ); }; }; 39 F571B4CF0E96F69A00B7FD9D /* BRVideoPlayerController.h in Headers */ = {isa = PBXBuildFile; fileRef = F571B4CD0E96F69A00B7FD9D /* BRVideoPlayerController.h */; }; 40 F571B4D00E96F69A00B7FD9D /* BRVideoPlayerController.m in Sources */ = {isa = PBXBuildFile; fileRef = F571B4CE0E96F69A00B7FD9D /* BRVideoPlayerController.m */; }; 41 F571B6F40E96F81D00B7FD9D /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F51BFD130D26BCEA00E22363 /* AppKit.framework */; }; 42 F571B6F50E96F81D00B7FD9D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F51BFD140D26BCEA00E22363 /* Foundation.framework */; }; 43 F571B6F60E96F81D00B7FD9D /* BackRow.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F51BFD100D26BCD200E22363 /* BackRow.framework */; }; 39 44 F580E8740D31288400F2225A /* SapphireButtonControl.h in Headers */ = {isa = PBXBuildFile; fileRef = F580E8720D31288400F2225A /* SapphireButtonControl.h */; settings = {ATTRIBUTES = (Public, ); }; }; 40 45 F580E8750D31288400F2225A /* SapphireButtonControl.m in Sources */ = {isa = PBXBuildFile; fileRef = F580E8730D31288400F2225A /* SapphireButtonControl.m */; }; … … 81 86 F51BFD210D26BD8900E22363 /* ExceptionHandling.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ExceptionHandling.framework; path = /System/Library/Frameworks/ExceptionHandling.framework; sourceTree = "<absolute>"; }; 82 87 F51BFD540D26BEF900E22363 /* BackRowUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BackRowUtils.h; sourceTree = "<group>"; }; 88 F571B4B90E96F62C00B7FD9D /* SapphireTakeTwoPointTwoCompatClasses.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SapphireTakeTwoPointTwoCompatClasses.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 89 F571B4BA0E96F62C00B7FD9D /* SapphireTakeTwoPointTwoCompatClasses-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SapphireTakeTwoPointTwoCompatClasses-Info.plist"; sourceTree = "<group>"; }; 90 F571B4CD0E96F69A00B7FD9D /* BRVideoPlayerController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BRVideoPlayerController.h; sourceTree = "<group>"; }; 91 F571B4CE0E96F69A00B7FD9D /* BRVideoPlayerController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BRVideoPlayerController.m; sourceTree = "<group>"; }; 83 92 F580E8720D31288400F2225A /* SapphireButtonControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SapphireButtonControl.h; sourceTree = "<group>"; }; 84 93 F580E8730D31288400F2225A /* SapphireButtonControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SapphireButtonControl.m; sourceTree = "<group>"; }; … … 116 125 F51BFD150D26BCEA00E22363 /* AppKit.framework in Frameworks */, 117 126 F51BFD160D26BCEA00E22363 /* Foundation.framework in Frameworks */, 127 ); 128 runOnlyForDeploymentPostprocessing = 0; 129 }; 130 F571B4B70E96F62C00B7FD9D /* Frameworks */ = { 131 isa = PBXFrameworksBuildPhase; 132 buildActionMask = 2147483647; 133 files = ( 134 F571B6F40E96F81D00B7FD9D /* AppKit.framework in Frameworks */, 135 F571B6F50E96F81D00B7FD9D /* Foundation.framework in Frameworks */, 136 F571B6F60E96F81D00B7FD9D /* BackRow.framework in Frameworks */, 118 137 ); 119 138 runOnlyForDeploymentPostprocessing = 0; … … 129 148 F51BFCD20D26BAED00E22363 /* Products */, 130 149 DCA299CB0D64A3B30092E9BB /* SapphireTakeTwoCompatClasses-Info.plist */, 150 F571B4BA0E96F62C00B7FD9D /* SapphireTakeTwoPointTwoCompatClasses-Info.plist */, 131 151 ); 132 152 sourceTree = "<group>"; … … 158 178 F585A9DA0D74ED770043AB22 /* BRMusicNowPlayingController.h */, 159 179 F585A9DB0D74ED780043AB22 /* BRMusicNowPlayingController.m */, 180 F571B4CD0E96F69A00B7FD9D /* BRVideoPlayerController.h */, 181 F571B4CE0E96F69A00B7FD9D /* BRVideoPlayerController.m */, 160 182 ); 161 183 name = Classes; … … 168 190 F51BFCF90D26BB4D00E22363 /* SapphireLeopardCompatClasses.framework */, 169 191 DCA299CA0D64A3B30092E9BB /* SapphireTakeTwoCompatClasses.framework */, 192 F571B4B90E96F62C00B7FD9D /* SapphireTakeTwoPointTwoCompatClasses.framework */, 170 193 ); 171 194 name = Products; … … 219 242 runOnlyForDeploymentPostprocessing = 0; 220 243 }; 244 F571B4B40E96F62C00B7FD9D /* Headers */ = { 245 isa = PBXHeadersBuildPhase; 246 buildActionMask = 2147483647; 247 files = ( 248 F571B4CF0E96F69A00B7FD9D /* BRVideoPlayerController.h in Headers */, 249 ); 250 runOnlyForDeploymentPostprocessing = 0; 251 }; 221 252 /* End PBXHeadersBuildPhase section */ 222 253 … … 275 306 productName = SapphireLeopardCompatClasses; 276 307 productReference = F51BFCF90D26BB4D00E22363 /* SapphireLeopardCompatClasses.framework */; 308 productType = "com.apple.product-type.framework"; 309 }; 310 F571B4B80E96F62C00B7FD9D /* SapphireTakeTwoPointTwoCompatClasses */ = { 311 isa = PBXNativeTarget; 312 buildConfigurationList = F571B4C00E96F62C00B7FD9D /* Build configuration list for PBXNativeTarget "SapphireTakeTwoPointTwoCompatClasses" */; 313 buildPhases = ( 314 F571B4B40E96F62C00B7FD9D /* Headers */, 315 F571B4B50E96F62C00B7FD9D /* Resources */, 316 F571B4B60E96F62C00B7FD9D /* Sources */, 317 F571B4B70E96F62C00B7FD9D /* Frameworks */, 318 ); 319 buildRules = ( 320 ); 321 dependencies = ( 322 ); 323 name = SapphireTakeTwoPointTwoCompatClasses; 324 productName = SapphireTakeTwoPointTwoCompatClasses; 325 productReference = F571B4B90E96F62C00B7FD9D /* SapphireTakeTwoPointTwoCompatClasses.framework */; 277 326 productType = "com.apple.product-type.framework"; 278 327 }; … … 293 342 F51BFCF80D26BB4D00E22363 /* SapphireLeopardCompatClasses */, 294 343 DCA299BD0D64A3B30092E9BB /* SapphireTakeTwoCompatClasses */, 344 F571B4B80E96F62C00B7FD9D /* SapphireTakeTwoPointTwoCompatClasses */, 295 345 ); 296 346 }; … … 313 363 }; 314 364 F51BFCF50D26BB4D00E22363 /* Resources */ = { 365 isa = PBXResourcesBuildPhase; 366 buildActionMask = 2147483647; 367 files = ( 368 ); 369 runOnlyForDeploymentPostprocessing = 0; 370 }; 371 F571B4B50E96F62C00B7FD9D /* Resources */ = { 315 372 isa = PBXResourcesBuildPhase; 316 373 buildActionMask = 2147483647; … … 351 408 files = ( 352 409 F51BFD0A0D26BC9900E22363 /* BRLayerController.m in Sources */, 410 ); 411 runOnlyForDeploymentPostprocessing = 0; 412 }; 413 F571B4B60E96F62C00B7FD9D /* Sources */ = { 414 isa = PBXSourcesBuildPhase; 415 buildActionMask = 2147483647; 416 files = ( 417 F571B4D00E96F69A00B7FD9D /* BRVideoPlayerController.m in Sources */, 353 418 ); 354 419 runOnlyForDeploymentPostprocessing = 0; … … 574 639 name = Release; 575 640 }; 641 F571B4BB0E96F62C00B7FD9D /* Debug */ = { 642 isa = XCBuildConfiguration; 643 buildSettings = { 644 COPY_PHASE_STRIP = YES; 645 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 646 DYLIB_COMPATIBILITY_VERSION = 1; 647 DYLIB_CURRENT_VERSION = 1; 648 FRAMEWORK_SEARCH_PATHS = ( 649 "$(inherited)", 650 "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", 651 "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", 652 ); 653 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\""; 654 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\""; 655 FRAMEWORK_VERSION = A; 656 GCC_PRECOMPILE_PREFIX_HEADER = YES; 657 GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 658 INFOPLIST_FILE = "SapphireTakeTwoPointTwoCompatClasses-Info.plist"; 659 INSTALL_PATH = "$(HOME)/Library/Frameworks"; 660 OTHER_LDFLAGS = ( 661 "-framework", 662 Foundation, 663 "-framework", 664 AppKit, 665 "-undefined", 666 dynamic_lookup, 667 ); 668 PREBINDING = NO; 669 PRODUCT_NAME = SapphireTakeTwoPointTwoCompatClasses; 670 }; 671 name = Debug; 672 }; 673 F571B4BC0E96F62C00B7FD9D /* Release */ = { 674 isa = XCBuildConfiguration; 675 buildSettings = { 676 COPY_PHASE_STRIP = YES; 677 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 678 DYLIB_COMPATIBILITY_VERSION = 1; 679 DYLIB_CURRENT_VERSION = 1; 680 FRAMEWORK_SEARCH_PATHS = ( 681 "$(inherited)", 682 "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)", 683 "$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2)", 684 ); 685 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\""; 686 FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_2 = "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\""; 687 FRAMEWORK_VERSION = A; 688 GCC_PRECOMPILE_PREFIX_HEADER = YES; 689 GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; 690 INFOPLIST_FILE = "SapphireTakeTwoPointTwoCompatClasses-Info.plist"; 691 INSTALL_PATH = "$(HOME)/Library/Frameworks"; 692 OTHER_LDFLAGS = ( 693 "-framework", 694 Foundation, 695 "-framework", 696 AppKit, 697 "-undefined", 698 dynamic_lookup, 699 ); 700 PREBINDING = NO; 701 PRODUCT_NAME = SapphireTakeTwoPointTwoCompatClasses; 702 }; 703 name = Release; 704 }; 576 705 /* End XCBuildConfiguration section */ 577 706 … … 613 742 defaultConfigurationName = Release; 614 743 }; 744 F571B4C00E96F62C00B7FD9D /* Build configuration list for PBXNativeTarget "SapphireTakeTwoPointTwoCompatClasses" */ = { 745 isa = XCConfigurationList; 746 buildConfigurations = ( 747 F571B4BB0E96F62C00B7FD9D /* Debug */, 748 F571B4BC0E96F62C00B7FD9D /* Release */, 749 ); 750 defaultConfigurationIsVisible = 0; 751 defaultConfigurationName = Release; 752 }; 615 753 /* End XCConfigurationList section */ 616 754 }; trunk/SapphireCompatibilityClasses/SapphireFrontRowCompat.h
r662 r678 403 403 } 404 404 } 405 //ATV2.2 406 if(NSClassFromString(@"BRVideoPlayerController") == nil) 407 { 408 compatPath = [frameworkPath stringByAppendingPathComponent:@"SapphireTakeTwoPointTwoCompatClasses.framework"]; 409 compat = [NSBundle bundleWithPath:compatPath]; 410 if( ![compat load]){ 411 @throw [NSException exceptionWithName:@"FileNotFoundException" reason:[NSString stringWithFormat:@"SapphireTakeTwoPointTwoCompatClasses could not be loaded from path %@", compatPath] userInfo:nil]; 412 } 413 } 405 414 } 406 415 }
