@@ -51,11 +51,11 @@ [_INIFile release]; [super dealloc]; } -- (void)OF_getCategory: (OFString **)category +- (void)of_getCategory: (OFString **)category andKey: (OFString **)key forPath: (OFString *)path { size_t pos = [path rangeOfString: @"." options: OF_STRING_SEARCH_BACKWARDS].location; @@ -75,11 +75,11 @@ forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; [[_INIFile categoryForName: category] setString: string forKey: key]; @@ -91,11 +91,11 @@ forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; [[_INIFile categoryForName: category] setInteger: integer forKey: key]; @@ -107,11 +107,11 @@ forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; [[_INIFile categoryForName: category] setBool: bool_ forKey: key]; @@ -123,11 +123,11 @@ forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; [[_INIFile categoryForName: category] setFloat: float_ forKey: key]; @@ -139,11 +139,11 @@ forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; [[_INIFile categoryForName: category] setDouble: double_ forKey: key]; @@ -155,11 +155,11 @@ forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; [[_INIFile categoryForName: category] setArray: array forKey: key]; @@ -171,11 +171,11 @@ defaultValue: (OFString *)defaultValue { void *pool = objc_autoreleasePoolPush(); OFString *category, *key, *ret; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; ret = [[_INIFile categoryForName: category] stringForKey: key defaultValue: defaultValue]; @@ -190,11 +190,11 @@ { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; intmax_t ret; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; ret = [[_INIFile categoryForName: category] integerForKey: key @@ -210,11 +210,11 @@ { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; bool ret; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; ret = [[_INIFile categoryForName: category] boolForKey: key defaultValue: defaultValue]; @@ -229,11 +229,11 @@ { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; float ret; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; ret = [[_INIFile categoryForName: category] floatForKey: key defaultValue: defaultValue]; @@ -248,11 +248,11 @@ { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; double ret; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; ret = [[_INIFile categoryForName: category] doubleForKey: key defaultValue: defaultValue]; @@ -266,11 +266,11 @@ { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; OFArray *ret; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; ret = [[_INIFile categoryForName: category] arrayForKey: key]; @@ -282,11 +282,11 @@ - (void)removeValueForPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; - [self OF_getCategory: &category + [self of_getCategory: &category andKey: &key forPath: path]; [[_INIFile categoryForName: category] removeValueForKey: key];