mirror of
https://github.com/objective-see/BlockBlock.git
synced 2026-03-22 07:02:39 +00:00
57ca40fc7f
BlockBlock v1.0 (beta)
25 lines
516 B
Objective-C
25 lines
516 B
Objective-C
//
|
|
// file: Update.h
|
|
// project: BlockBlock (shared)
|
|
// description: checks for new versions of BlockBlock (header)
|
|
//
|
|
// created by Patrick Wardle
|
|
// copyright (c) 2017 Objective-See. All rights reserved.
|
|
//
|
|
|
|
#ifndef Update_h
|
|
#define Update_h
|
|
|
|
@import Cocoa;
|
|
@import Foundation;
|
|
|
|
@interface Update : NSObject
|
|
|
|
//check for an update
|
|
// will invoke app delegate method to update UI when check completes
|
|
-(void)checkForUpdate:(void (^)(NSUInteger result, NSString* latestVersion))completionHandler;
|
|
|
|
@end
|
|
|
|
#endif
|