Changeset 1145

Show
Ignore:
Timestamp:
02/18/2010 06:59:37 PM (2 years ago)
Author:
gbooker
Message:

With framework loading code in place, now use it instead.

Location:
branches/PlayerFramework/SapphireFrappliance
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/PlayerFramework/SapphireFrappliance/Browser/SapphireBrowser.m

    r1119 r1145  
    6060 
    6161@implementation SapphireBrowser 
    62  
    63 + (void)initialize 
    64 { 
    65         NSString *myBundlePath = [[NSBundle bundleForClass:[self class]] bundlePath]; 
    66         NSString *frameworkPath = [myBundlePath stringByAppendingPathComponent:@"Contents/Frameworks/CommonMediaPlayer.framework"]; 
    67         [[NSBundle bundleWithPath:frameworkPath] load]; 
    68 } 
    6962 
    7063- (id) initWithScene: (BRRenderScene *) scene metaData:(id <SapphireDirectory>)meta 
  • branches/PlayerFramework/SapphireFrappliance/FRAppliance/SapphireAppliance.m

    r1038 r1145  
    2929 
    3030#import <SapphireCompatClasses/BackRowUtils.h> 
     31#define FrameworkLoadDebug 
     32#import <CommonMediaPlayer/CMPPlayerManager.h> 
    3133 
    3234#define TV_SHOW_IDENTIFIER      @"tv-shows" 
     
    6971        NSString *frameworkPath = [myBundlePath stringByAppendingPathComponent:@"Contents/Frameworks"]; 
    7072        SapphireLoadFramework(frameworkPath); 
     73        loadCMPFramework(myBundlePath); 
    7174        Class cls = NSClassFromString( @"BRFeatureManager" ); 
    7275        if ( cls == Nil )