Monotone-Parent: df10c88af01acc51d8255beacbd9dd83a36f26d8

Monotone-Revision: 341e1374ed8368a3de3e24945489029ce3e3665d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-11T20:10:21
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-04-11 20:10:21 +00:00
parent 30bc77cc5a
commit 80d698d2a6
4 changed files with 4 additions and 22 deletions

View File

@@ -4,7 +4,9 @@
method that SOGo will need with non-gnustep Foundation
implementation.
([NSString -stringByAppendingPathComponent:component]): new method
that SOGo will need when building with libFoundation.
that SOGo will need when building with libFoundation. Method
removed later since it is available from
Foundation/NSPathUtilities.h.
* SoObjects/SOGo/SOGoUser.m ([SOGoUser -timeZone]): method moved
from SOGoObject.m.

View File

@@ -40,10 +40,6 @@
#ifndef GNUSTEP_BASE_LIBRARY
- (BOOL) boolValue;
#ifdef LIB_FOUNDATION_LIBRARY
- (NSString *) stringByAppendingPathComponent: (NSString *) component;
#endif
#endif
@end

View File

@@ -107,23 +107,6 @@
return !([self isEqualToString: @"0"]
|| [self isEqualToString: @"NO"]);
}
#ifdef LIB_FOUNDATION_LIBRARY
- (NSString *) stringByAppendingPathComponent: (NSString *) component
{
NSMutableArray *components;
NSString *newString;
components = [NSMutableArray new];
[components addObjectsFromArray: [self componentsSeparatedByString: @"/"]];
[components addObject: component];
newString = [components componentsJoinedByString: @"/"];
[components release];
return newString;
}
#endif
#endif
@end

View File

@@ -23,6 +23,7 @@
#import <Foundation/NSException.h>
#import <Foundation/NSUserDefaults.h>
#import <Foundation/NSKeyValueCoding.h>
#import <Foundation/NSPathUtilities.h>
#import <NGObjWeb/SoHTTPAuthenticator.h>
#import <NGObjWeb/SoObjects.h>
#import <NGObjWeb/WOResourceManager.h>