5 // Created by Andy Matuschak on 4/10/08.
6 // Copyright 2008 Andy Matuschak. All rights reserved.
12 #import <Cocoa/Cocoa.h>
14 @interface SUInstaller
: NSObject
{ }
15 + (void)installFromUpdateFolder
:(NSString
*)updateFolder overHostBundle
:(NSBundle
*)hostBundle delegate
:delegate synchronously
:(BOOL
)synchronously
;
16 + (void)_finishInstallationWithResult
:(BOOL
)result hostBundle
:(NSBundle
*)hostBundle error
:(NSError
*)error delegate
:delegate
;
19 @interface
NSObject (SUInstallerDelegateInformalProtocol
)
20 - (void)installerFinishedForHostBundle
:(NSBundle
*)hostBundle
;
21 - (void)installerForHostBundle
:(NSBundle
*)hostBundle failedWithError
:(NSError
*)error
;