@@ -126,16 +126,16 @@ OFArray OF_GENERIC(OFString *) *_arguments; OFMutableDictionary OF_GENERIC(OFString *, OFString *) *_environment; int *_argc; char ***_argv; @public - id _delegate; - void (*_SIGINTHandler)(id, SEL); + id _Nullable _delegate; + void (*_Nullable _SIGINTHandler)(id, SEL); #ifndef OF_WINDOWS - void (*_SIGHUPHandler)(id, SEL); - void (*_SIGUSR1Handler)(id, SEL); - void (*_SIGUSR2Handler)(id, SEL); + void (*_Nullable _SIGHUPHandler)(id, SEL); + void (*_Nullable _SIGUSR1Handler)(id, SEL); + void (*_Nullable _SIGUSR2Handler)(id, SEL); #endif } /*! * The name of the program (argv[0]). @@ -156,32 +156,32 @@ /*! * @brief Returns the only OFApplication instance in the application. * * @return The only OFApplication instance in the application */ -+ (OFApplication *)sharedApplication; ++ (nullable OFApplication *)sharedApplication; /*! * @brief Returns the name of the program (argv[0]). * * @return The name of the program (argv[0]) */ -+ (OFString *)programName; ++ (nullable OFString *)programName; /*! * @brief Returns the arguments passed to the application. * * @return The arguments passed to the application */ -+ (OFArray OF_GENERIC(OFString *) *)arguments; ++ (nullable OFArray OF_GENERIC(OFString *) *)arguments; /*! * @brief Returns the environment of the application. * * @return The environment of the application */ -+ (OFDictionary OF_GENERIC(OFString *, OFString *) *)environment; ++ (nullable OFDictionary OF_GENERIC(OFString *, OFString *) *)environment; /*! * @brief Terminates the application with the EXIT_SUCCESS status. */ + (void)terminate OF_NO_RETURN;