Files
Sparkle/SUUpdateDriver.h
T
C.W. Betts 8577ed8953 Many changes:
Getting rid of unneeded parentheses.
Remove more pre-10.7-only code.
Add comments.
More property declarations.
Make SUUpdatePermissionPromptDelegateInformalProtocol a protocol with the name SUUpdatePermissionPromptDelegateProtocol.
2014-06-19 15:02:04 -06:00

37 lines
763 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 * const SUUpdateDriverFinishedNotification;
@class SUHost, SUUpdater;
@interface SUUpdateDriver : NSObject<NSURLDownloadDelegate>
{
SUHost *host;
SUUpdater *updater; //assigned
NSURL *appcastURL;
BOOL finished;
BOOL isInterruptible;
}
@property (retain) SUHost *host;
- (instancetype) initWithUpdater:(SUUpdater *)updater;
- (void)checkForUpdatesAtURL:(NSURL *)URL host:(SUHost *)host;
- (void)abortUpdate;
@property (getter=isInterruptible, readonly) BOOL interruptible;
@property (readonly) BOOL finished;
@end
#endif