Changeset 42
- Timestamp:
- 04/17/05 22:19:28 (4 years ago)
- Files:
-
- trunk/Controller.h (modified) (1 diff)
- trunk/TODO (modified) (2 diffs)
- trunk/UpdateController.h (modified) (1 diff)
- trunk/UpdateController.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Controller.h
r17 r42 1 1 #import <Cocoa/Cocoa.h> 2 2 #import <Security/Security.h> 3 4 #define remoteVersionURL @"http://www.sshkeychain.org/latestversion.xml"5 3 6 4 @protocol UI trunk/TODO
r36 r42 18 18 19 19 The Early Spring Code Cleanup: 20 21 - #define NSStrings is rubbish22 - Constants should start uppercase23 20 - Check retain/release 24 21 - Implement dealloc for all classes containing iVars … … 27 24 - Move local() to a macro (http://developer.apple.com/intl/localization/tools.html) 28 25 26 The Early Spring Code Cleanup DONE: 27 - #define NSStrings is rubbish 28 - Constants should start uppercase trunk/UpdateController.h
r17 r42 1 1 #import <Cocoa/Cocoa.h> 2 2 #import <Security/Security.h> 3 4 #define remoteVersionURL @"http://www.sshkeychain.org/latestversion.xml"5 3 6 4 @interface UpdateController : NSObject trunk/UpdateController.m
r28 r42 2 2 3 3 #include "SSHKeychain_Prefix.pch" 4 5 NSString *RemoteVersionURL = @"http://www.sshkeychain.org/latestversion.xml"; 4 6 5 7 UpdateController *sharedUpdateController; … … 45 47 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 46 48 47 remoteVersionInfo = [NSDictionary dictionaryWithContentsOfURL:[NSURL URLWithString: remoteVersionURL]];49 remoteVersionInfo = [NSDictionary dictionaryWithContentsOfURL:[NSURL URLWithString:RemoteVersionURL]]; 48 50 49 51 if(!remoteVersionInfo)
