Use generated properties

This commit is contained in:
Allan Odgaard
2012-12-18 22:24:15 +01:00
parent 6bc36a565b
commit 476247b047
4 changed files with 38 additions and 64 deletions

View File

@@ -1,7 +1,5 @@
#include <network/key_chain.h>
@class DownloadWindowController;
PUBLIC extern NSString* const kUserDefaultsDisableSoftwareUpdatesKey;
PUBLIC extern NSString* const kUserDefaultsSoftwareUpdateChannelKey;
PUBLIC extern NSString* const kUserDefaultsSubmitUsageInfoKey;
@@ -12,18 +10,6 @@ PUBLIC extern NSString* const kSoftwareUpdateChannelBeta;
PUBLIC extern NSString* const kSoftwareUpdateChannelNightly;
PUBLIC @interface SoftwareUpdate : NSObject
{
NSDictionary* channels;
key_chain_t keyChain;
NSTimeInterval pollInterval;
NSTimer* pollTimer;
BOOL isChecking;
NSString* errorString;
DownloadWindowController* downloadWindowController;
}
@property (nonatomic, retain) NSDictionary* channels;
@property (nonatomic, retain, readonly) NSDate* lastPoll;
@property (nonatomic, assign, readonly) BOOL isChecking;