@@ -15,12 +15,14 @@ */ #import "OFObject.h" @class OFString; -@class OFArray; -@class OFMutableArray; +#ifndef DOXYGEN +@class OFArray OF_GENERIC(ObjectType); +@class OFMutableArray OF_GENERIC(ObjectType); +#endif /*! * @class OFINICategory OFINICategory.h ObjFW/OFINICategory.h * * @brief A class for representing a category of an INI file. @@ -145,11 +147,11 @@ * * @param key The multi-key for which the array should be returned * @return The array for the specified key, or an empty array if it does not * exist */ -- (OFArray*)arrayForKey: (OFString*)key; +- (OFArray OF_GENERIC(OFString*)*)arrayForKey: (OFString*)key; /*! * @brief Sets the value of the specified key to the specified string. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of @@ -219,11 +221,11 @@ * See also @ref arrayForKey: for more information about multi-keys. * * @param array The array of strings to which the multi-key should be set * @param key The multi-key for which the new values should be set */ -- (void)setArray: (OFArray*)array +- (void)setArray: (OFArray OF_GENERIC(OFString*)*)array forKey: (OFString*)key; /*! * @brief Removes the value for the specified key *