ObjFW  Diff

Differences From Artifact [4cc1491a54]:

To Artifact [25c84d10d2]:


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

	[delegate applicationWillTerminate];
}

int
of_application_main(int argc, char *argv[], Class cls)
{
	OFApplication *app;
	id <OFApplicationDelegate> delegate = nil;

	if (cls != Nil)
		delegate = [[cls alloc] init];

	app = [OFApplication sharedApplication];

	[app setArgumentCount: argc
	    andArgumentValues: argv];

	[app setDelegate: delegate];
	[(id)delegate release];








|
|
<
<
<
<
<







37
38
39
40
41
42
43
44
45





46
47
48
49
50
51
52

	[delegate applicationWillTerminate];
}

int
of_application_main(int argc, char *argv[], Class cls)
{
	OFApplication *app = [OFApplication sharedApplication];
	id <OFApplicationDelegate> delegate = [[cls alloc] init];






	[app setArgumentCount: argc
	    andArgumentValues: argv];

	[app setDelegate: delegate];
	[(id)delegate release];