ObjFW  Check-in [400552fa28]

Overview
Comment:Require overriding of -[applicationDidFinishLaunching].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 400552fa287cf9ef97d3003973ffdc9a454e4e83ea42d819f417c4244130011b
User & Date: js on 2010-04-18 00:08:03
Other Links: manifest | tags
Context
2010-04-18
01:17
Adjust table generator to new ivar naming convention. check-in: 160b3ac744 user: js tags: trunk
00:08
Require overriding of -[applicationDidFinishLaunching]. check-in: 400552fa28 user: js tags: trunk
00:00
Adjust objfw-compile output to look like the output from buildsys. check-in: 74593c34f1 user: js tags: trunk
Changes

Modified src/OFApplication.m from [cbba891989] to [e8b77ada50].

13
14
15
16
17
18
19

20
21
22
23
24
25
26

#include <stdlib.h>

#import "OFApplication.h"
#import "OFArray.h"
#import "OFString.h"
#import "OFAutoreleasePool.h"


OFApplication *app = nil;

static void
atexit_handler()
{
	id delegate = [app delegate];







>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

#include <stdlib.h>

#import "OFApplication.h"
#import "OFArray.h"
#import "OFString.h"
#import "OFAutoreleasePool.h"
#import "OFExceptions.h"

OFApplication *app = nil;

static void
atexit_handler()
{
	id delegate = [app delegate];
151
152
153
154
155
156
157


158
159
160
161
162
163
	[super dealloc];
}
@end

@implementation OFObject (OFApplicationDelegate)
- (void)applicationDidFinishLaunching
{


}

- (void)applicationWillTerminate
{
}
@end







>
>






152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
	[super dealloc];
}
@end

@implementation OFObject (OFApplicationDelegate)
- (void)applicationDidFinishLaunching
{
	@throw [OFNotImplementedException newWithClass: isa
					      selector: _cmd];
}

- (void)applicationWillTerminate
{
}
@end