ObjFW  Diff

Differences From Artifact [cbba891989]:

To Artifact [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