@@ -66,10 +66,17 @@ /** * Terminates the application. */ + (void)terminate; +/** + * Terminates the application with the specified status. + * + * \param status The status with which the application will terminate + */ ++ (void)terminateWithStatus: (int)status; + /** * Sets argc and argv. * * You should not call this directly! Use of_application_main instead! * @@ -108,11 +115,18 @@ /** * Terminates the application. */ - (void)terminate; + +/** + * Terminates the application with the specified status. + * + * \param status The status with which the application will terminate + */ +- (void)terminateWithStatus: (int)status; @end @interface OFObject (OFApplicationDelegate) @end extern int of_application_main(int, char*[], Class);