Differences From Artifact [78b5b5f3d6]:
- File src/OFINICategory.h — part of check-in [164f2fb4bf] at 2024-06-17 21:08:05 on branch trunk — Always use <ObjFW/ObjFW.h> in documentation (user: js, size: 8459) [annotate] [blame] [check-ins using]
To Artifact [bbb2b390ac]:
- File
src/OFINISection.h
— part of check-in
[0fead8a915]
at
2024-08-24 10:14:30
on branch trunk
— Rename OFINICategory to OFINISection
OFINICategory is provided as a deprecated subclass of OFINISection to
maintain API and ABI compatibility. (user: js, size: 8462) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
22 23 24 25 26 27 28 | OF_ASSUME_NONNULL_BEGIN @class OFArray OF_GENERIC(ObjectType); @class OFMutableArray OF_GENERIC(ObjectType); @class OFString; /** | | | < | > | | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | OF_ASSUME_NONNULL_BEGIN @class OFArray OF_GENERIC(ObjectType); @class OFMutableArray OF_GENERIC(ObjectType); @class OFString; /** * @class OFINISection OFINISection.h ObjFW/ObjFW.h * * @brief A class for representing a section of an INI file. */ @interface OFINISection: OFObject { OFString *_name; OFMutableArray *_lines; OF_RESERVE_IVARS(OFINISection, 4) } /** * @brief The name of the INI section */ @property (copy, nonatomic) OFString *name; - (instancetype)init OF_UNAVAILABLE; /** * @brief Returns the string for the specified key, or `nil` if it does not |
︙ | ︙ | |||
136 137 138 139 140 141 142 | */ - (double)doubleValueForKey: (OFString *)key defaultValue: (double)defaultValue; /** * @brief Returns an array of strings for the specified multi-key, or an empty * array if the key does not exist. * | | | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | */ - (double)doubleValueForKey: (OFString *)key defaultValue: (double)defaultValue; /** * @brief Returns an array of strings for the specified multi-key, or an empty * array if the key does not exist. * * A multi-key is a key which exists several times in the same section. Each * occurrence of the key/value pair adds the respective value to the array. * * @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 OF_GENERIC(OFString *) *)arrayValueForKey: (OFString *)key; |
︙ | ︙ |