@@ -15,11 +15,11 @@ */ #import "OFObject.h" @class OFString; -@class OFArray; +@class OFArray OF_GENERIC(ObjectType); /*! * @class OFSettings OFSettings.h ObjFW/OFSettings.h * * Paths are delimited by dots, for example `category.subcategory.key`. @@ -117,11 +117,11 @@ * @brief Sets the specified path to the specified array of strings. * * @param array The array of strings to set * @param path The path to store the array of strings at */ -- (void)setArray: (OFArray*)array +- (void)setArray: (OFArray OF_GENERIC(OFString*)*)array forPath: (OFString*)path; /*! * @brief Returns the string for the specified path, or nil if the path does * not exist. @@ -191,11 +191,11 @@ * array if the path does not exist. * * @param path The path for which the array of strings should be returned * @return The array of strings of the specified path */ -- (OFArray*)arrayForPath: (OFString*)path; +- (OFArray OF_GENERIC(OFString*)*)arrayForPath: (OFString*)path; /*! * @brief Removes the value for the specified path. * * @param path The path for which the value should be removed