mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-29 07:05:26 +00:00
Monotone-Parent: be3f824ea546882828787185ebfdd086e3742f87
Monotone-Revision: 7ee3b26f338f9e7b5bf19d90524ff4f2fb127611 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-11T19:33:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2007-04-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/NSString+Utilities.m ([NSString -boolValue]): new
|
||||
method that SOGo will need with non-gnustep Foundation
|
||||
implementation.
|
||||
|
||||
* SoObjects/SOGo/SOGoUser.m ([SOGoUser -timeZone]): method moved
|
||||
from SOGoObject.m.
|
||||
|
||||
|
||||
@@ -38,6 +38,10 @@
|
||||
|
||||
- (NSString *) davMethodToObjC;
|
||||
|
||||
#ifndef GNUSTEP
|
||||
- (BOOL) boolValue;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
#endif /* NSSTRING_URL_H */
|
||||
|
||||
@@ -100,4 +100,12 @@
|
||||
return newName;
|
||||
}
|
||||
|
||||
#ifndef GNUSTEP
|
||||
- (BOOL) boolValue
|
||||
{
|
||||
return !([self isEqualToString: @"0"]
|
||||
|| [self isEqualToString: @"NO"]);
|
||||
}
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user