@@ -13,10 +13,12 @@ #import "OFFile.h" #import "OFAutoreleasePool.h" #import "TestsAppDelegate.h" +OF_APPLICATION_DELEGATE(TestsAppDelegate) + @implementation TestsAppDelegate - (void)outputString: (OFString*)str withColor: (int)color { #ifdef STDOUT @@ -95,11 +97,5 @@ #ifdef OF_HAVE_PROPERTIES [self propertiesTests]; #endif } @end - -int -main(int argc, char *argv[]) -{ - return of_application_main(argc, argv, [TestsAppDelegate class]); -}