aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h')
-rw-r--r--trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h b/trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h
new file mode 100644
index 00000000..08bfc974
--- /dev/null
+++ b/trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h
@@ -0,0 +1,24 @@
+//
+// SUInstaller.h
+// Sparkle
+//
+// Created by Andy Matuschak on 4/10/08.
+// Copyright 2008 Andy Matuschak. All rights reserved.
+//
+
+#ifndef SUINSTALLER_H
+#define SUINSTALLER_H
+
+#import <Cocoa/Cocoa.h>
+
+@interface SUInstaller : NSObject { }
++ (void)installFromUpdateFolder:(NSString *)updateFolder overHostBundle:(NSBundle *)hostBundle delegate:delegate synchronously:(BOOL)synchronously;
++ (void)_finishInstallationWithResult:(BOOL)result hostBundle:(NSBundle *)hostBundle error:(NSError *)error delegate:delegate;
+@end
+
+@interface NSObject (SUInstallerDelegateInformalProtocol)
+- (void)installerFinishedForHostBundle:(NSBundle *)hostBundle;
+- (void)installerForHostBundle:(NSBundle *)hostBundle failedWithError:(NSError *)error;
+@end
+
+#endif