@@ -151,10 +151,16 @@ * The environment of the application. */ @property (readonly, nonatomic) OFDictionary OF_GENERIC(OFString *, OFString *) *environment; +/*! + * The delegate of the application. + */ +@property OF_NULLABLE_PROPERTY (assign, nonatomic) + id delegate; + /*! * @brief Returns the only OFApplication instance in the application. * * @return The only OFApplication instance in the application */ @@ -213,24 +219,10 @@ * @param argv A pointer where a pointer to argv should be stored */ - (void)getArgumentCount: (int *_Nonnull *_Nonnull)argc andArgumentValues: (char *_Nonnull *_Nonnull *_Nonnull[_Nonnull])argv; -/*! - * @brief Returns the delegate of the application. - * - * @return The delegate of the application - */ -- (nullable id )delegate; - -/*! - * @brief Sets the delegate of the application. - * - * @param delegate The delegate for the application - */ -- (void)setDelegate: (nullable id )delegate; - /*! * @brief Terminates the application. */ - (void)terminate OF_NO_RETURN;