Changeset 1187

Show
Ignore:
Timestamp:
02/26/2010 07:40:44 AM (2 years ago)
Author:
gbooker
Message:

Corrected some compile issue. While it's not functional, at least it compiles now.

Location:
trunk/CommonMediaPlayer/Update Classes
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/CommonMediaPlayer/Update Classes/CMPDownloadController.h

    r1184 r1187  
    6666 
    6767 
    68 @interface CMPDownloadController : NSObject <CMPInstaller> 
     68@interface CMPDownloadController : NSObject 
    6969{ 
    7070        int             padding[16]; 
     
    9595- (void) deleteDownload; 
    9696 
    97 // stack callbacks 
    98 - (void) wasPushed; 
    99 - (void) willBePopped; 
    10097- (BOOL) isNetworkDependent; 
    10198 
     
    110107- (void) storeResumeData; 
    111108 
    112 // NSURLDownload delegate methods 
    113 - (void) download: (NSURLDownload *) download 
    114    decideDestinationWithSuggestedFilename: (NSString *) filename; 
    115 - (void) download: (NSURLDownload *) download didFailWithError: (NSError *) error; 
    116 - (void) download: (NSURLDownload *) download didReceiveDataOfLength: (unsigned) length; 
    117 - (void) download: (NSURLDownload *) download didReceiveResponse: (NSURLResponse *) response; 
    118 - (BOOL) download: (NSURLDownload *) download 
    119    shouldDecodeSourceDataOfMIMEType: (NSString *) encodingType; 
    120 - (void) download: (NSURLDownload *) download 
    121    willResumeWithResponse: (NSURLResponse *) response 
    122                  fromByte: (long long) startingByte; 
    123 - (void) downloadDidFinish: (NSURLDownload *) download; 
    124  
    125109- (void)popTop; 
    126110- (void)installUpdate:(NSString *)outputPath; 
  • trunk/CommonMediaPlayer/Update Classes/CMPDownloadController.m

    r1184 r1187  
    2929#define myDomain                        (CFStringRef)@"??" 
    3030 
     31@interface CMPDownloadController () 
     32+ (NSString *)atvVersion; 
     33@end 
     34 
     35@interface BRThemeInfo (SpecialAdditions) 
     36- (id)CMPParagraphTextAttributes; 
     37@end 
     38 
    3139static NSString * const kDefaultURLString = @"nada"; 
    3240 
     
    474482} 
    475483 
    476 - (void)installer:(id <CMPInstaller>)installer didEndWithSettings:(NSDictionary *)settings 
     484- (void)installer:(CMPInstaller *)installer didEndWithSettings:(NSDictionary *)settings 
    477485{ 
    478486        [installer autorelease]; 
  • trunk/CommonMediaPlayer/Update Classes/CMPInstaller.h

    r1184 r1187  
    2424#import "CMPDefines.h" 
    2525 
    26 @interface CMPInstaller : NSObject <CMPInstaller> { 
    27          
     26@protocol CMPInstallerDelegate; 
     27 
     28@interface CMPInstaller : NSObject{ 
    2829        NSString *_zipFile; 
    2930        id <CMPInstallerDelegate>       delegate; 
    30          
    31          
    3231} 
    3332 
     
    3938- (BOOL)unzipFile:(NSString *)theFile toPath:(NSString *)newPath; 
    4039@end 
     40 
     41@protocol CMPInstallerDelegate <NSObject>  
     42- (void)installer:(CMPInstaller *)installer didEndWithSettings:(NSDictionary *)settings;  
     43@end  
  • trunk/CommonMediaPlayer/Update Classes/CMPInstaller.m

    r1184 r1187  
    4747        //NSLog(@"%@ %s", self, _cmd); 
    4848         
    49         [[BRAppManager sharedApplication] terminate]; 
     49        [[NSApplication sharedApplication] terminate:nil]; 
    5050        AGProcess *finder = [AGProcess processForCommand:@"Finder"]; 
    5151        if (finder != nil)