mirror of
https://github.com/textmate/textmate.git
synced 2026-01-15 01:38:02 -05:00
24 lines
973 B
Objective-C
24 lines
973 B
Objective-C
#import "DownloadWindowController.h"
|
|
#import <network/key_chain.h>
|
|
|
|
PUBLIC extern NSString* const kUserDefaultsDisableSoftwareUpdatesKey;
|
|
PUBLIC extern NSString* const kUserDefaultsSoftwareUpdateChannelKey;
|
|
PUBLIC extern NSString* const kUserDefaultsSubmitUsageInfoKey;
|
|
PUBLIC extern NSString* const kUserDefaultsAskBeforeUpdatingKey;
|
|
|
|
PUBLIC extern NSString* const kSoftwareUpdateChannelRelease;
|
|
PUBLIC extern NSString* const kSoftwareUpdateChannelPrerelease;
|
|
PUBLIC extern NSString* const kSoftwareUpdateChannelCanary;
|
|
|
|
PUBLIC @interface SoftwareUpdate : NSObject <DownloadWindowControllerDelegate>
|
|
@property (nonatomic) NSDictionary* channels;
|
|
@property (nonatomic, readonly) NSDate* lastPoll;
|
|
@property (nonatomic, readonly, getter = isChecking) BOOL checking;
|
|
@property (nonatomic, readonly) NSString* errorString;
|
|
|
|
- (void)setSignee:(key_chain_t::key_t const&)aSignee;
|
|
|
|
+ (instancetype)sharedInstance;
|
|
- (IBAction)checkForUpdates:(id)sender;
|
|
@end
|