mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-29 10:02:43 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -40,10 +40,6 @@
|
||||
|
||||
#ifndef GNUSTEP_BASE_LIBRARY
|
||||
- (BOOL) boolValue;
|
||||
|
||||
#ifdef LIB_FOUNDATION_LIBRARY
|
||||
- (NSString *) stringByAppendingPathComponent: (NSString *) component;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user