mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Made a first crack at redifining the SUUpdater delegate protocol. Still not sure about a couple things, so please don't change your delegate methods to conform until this gets merged into trunk. Also made the SUUpdateDrivers not have the updater's delegate as their delegate (that was really icky). Now they're just coupled with the SUUpdater, which is icky as well, but less icky, at least.
30 lines
480 B
Objective-C
30 lines
480 B
Objective-C
//
|
|
// SUUpdateDriver.h
|
|
// Sparkle
|
|
//
|
|
// Created by Andy Matuschak on 5/7/08.
|
|
// Copyright 2008 Andy Matuschak. All rights reserved.
|
|
//
|
|
|
|
#ifndef SUUPDATEDRIVER_H
|
|
#define SUUPDATEDRIVER_H
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
extern NSString *SUUpdateDriverFinishedNotification;
|
|
|
|
@class SUHost;
|
|
@interface SUUpdateDriver : NSObject
|
|
{
|
|
SUHost *host;
|
|
|
|
BOOL finished;
|
|
}
|
|
- (void)checkForUpdatesAtURL:(NSURL *)appcastURL host:(SUHost *)hb;
|
|
- (void)abortUpdate;
|
|
- (BOOL)finished;
|
|
|
|
@end
|
|
|
|
#endif
|