Changeset 495
- Timestamp:
- 02/23/2008 06:11:08 PM (4 years ago)
- Location:
- trunk/SapphireCompatibilityClasses
- Files:
-
- 2 modified
-
SapphireFrontRowCompat.h (modified) (1 diff)
-
SapphireFrontRowCompat.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SapphireCompatibilityClasses/SapphireFrontRowCompat.h
r490 r495 46 46 */ 47 47 + (BOOL)usingFrontRow; 48 49 /*! 50 * @brief Are we on ATV Take Two? 51 * 52 * @return YES if on take two, NO otherwise 53 */ 54 + (BOOL)usingTakeTwo; 48 55 49 56 /*! -
trunk/SapphireCompatibilityClasses/SapphireFrontRowCompat.m
r493 r495 82 82 83 83 static BOOL usingFrontRow = NO; 84 static BOOL usingTakeTwo = NO; 84 85 85 86 + (void)initialize … … 87 88 if(NSClassFromString(@"BRAdornedMenuItemLayer") == nil) 88 89 usingFrontRow = YES; 90 91 if(NSClassFromString(@"BRBaseAppliance") != nil) 92 usingTakeTwo = YES; 89 93 } 90 94 … … 92 96 { 93 97 return usingFrontRow; 98 } 99 100 + (BOOL)usingTakeTwo 101 { 102 return usingTakeTwo; 94 103 } 95 104
