Changeset 679
- Timestamp:
- 10/04/08 16:41:55 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/SapphireCompatibilityClasses/SapphireFrontRowCompat.h
r678 r679 53 53 */ 54 54 + (BOOL)usingTakeTwo; 55 56 /*! 57 * @brief Are we on ATV 2.2? 58 * 59 * @return YES if on 2.2, NO otherwise 60 */ 61 + (BOOL)usingTakeTwoDotTwo; 55 62 56 63 /*! trunk/SapphireCompatibilityClasses/SapphireFrontRowCompat.m
r631 r679 84 84 static BOOL usingFrontRow = NO; 85 85 static BOOL usingTakeTwo = NO; 86 static BOOL usingTakeTwoDotTwo = NO; 86 87 87 88 + (void)initialize … … 92 93 if(NSClassFromString(@"BRBaseAppliance") != nil) 93 94 usingTakeTwo = YES; 95 96 if(NSClassFromString(@"BRVideoPlayerController") == nil) 97 usingTakeTwoDotTwo = YES; 94 98 } 95 99 … … 102 106 { 103 107 return usingTakeTwo; 108 } 109 110 + (BOOL)usingTakeTwoDotTwo 111 { 112 return usingTakeTwoDotTwo; 104 113 } 105 114
