mirror of
https://github.com/objective-see/BlockBlock.git
synced 2026-03-22 07:02:39 +00:00
397699c1d0
remove old log file #74 switch to os_log_* APIs
26 lines
531 B
Objective-C
26 lines
531 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 OSLog;
|
|
@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
|