Differences From Artifact [449f37093f]:
- File src/OFApplication.m — part of check-in [fc200bb14a] at 2011-10-28 18:32:09 on branch trunk — Release the OFApplication delegate in the atexit handler. (user: js, size: 5221) [annotate] [blame] [check-ins using]
To Artifact [64dece92ce]:
- File
src/OFApplication.m
— part of check-in
[9ec315d070]
at
2011-11-30 23:55:40
on branch trunk
— Don't copy properties of OFApplication.
There is no need to reference count them, they will always be retained
by the application for the lifetime of the application. (user: js, size: 5177) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFAutoreleasePool.h" #import "OFNotImplementedException.h" | < < | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFAutoreleasePool.h" #import "OFNotImplementedException.h" #if defined(__MACH__) && !defined(OF_IOS) # include <crt_externs.h> #elif !defined(OF_IOS) extern char **environ; #endif static OFApplication *app = nil; |
︙ | ︙ | |||
213 214 215 216 217 218 219 | { *argc_ = argc; *argv_ = argv; } - (OFString*)programName { | | | | | 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | { *argc_ = argc; *argv_ = argv; } - (OFString*)programName { return programName; } - (OFArray*)arguments { return arguments; } - (OFDictionary*)environment { return environment; } - (id <OFApplicationDelegate>)delegate { return delegate; } |
︙ | ︙ |