Changeset 632
- Timestamp:
- 07/14/08 17:11:26 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/CoreData/SapphireCompatibilityClasses/SapphireFrontRowCompat.h
r572 r632 374 374 */ 375 375 + (NSArray *)callStackReturnAddressesForException:(NSException *)exception; 376 377 /*! 378 * @brief Get the sharedFrontRowPreferences object. 379 * 380 * On Apple TV < 2.1, the RUIPreferences class is used for this. On 2.1, the class is renamed to BRPreferences. 381 * 382 * @return the preferences object 383 */ 384 + (RUIPreferences *)sharedFrontRowPreferences; 376 385 @end 377 386 branches/CoreData/SapphireCompatibilityClasses/SapphireFrontRowCompat.m
r572 r632 438 438 return [[exception userInfo] objectForKey:NSStackTraceKey]; 439 439 } 440 @end 440 441 + (RUIPreferences *)sharedFrontRowPreferences { 442 Class preferencesClass = NSClassFromString(@"RUIPreferences"); 443 if(!preferencesClass) preferencesClass = NSClassFromString(@"BRPreferences"); 444 445 if(preferencesClass) 446 return [preferencesClass sharedFrontRowPreferences]; 447 else 448 return nil; 449 } 450 451 @end
