Monotone-Parent: fb790a4b86faa504859d822223314cd9a2c2d831
Monotone-Revision: 104af6e1abeb0a3c63ebfba6d0a604e3b3e0e13d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-30T13:32:23 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
709a8bb784
commit
65a427ef0f
|
@ -1,3 +1,7 @@
|
|||
2010-12-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/EOBitmaskQualifier.m (-description): new method.
|
||||
|
||||
2010-12-29 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* Moved the string encryption code from SoObjects/SOGo/SQLSource.m
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#import "EOBitmaskQualifier.h"
|
||||
|
||||
@implementation EOBitmaskQualifier
|
||||
|
@ -59,4 +61,17 @@
|
|||
return isZero;
|
||||
}
|
||||
|
||||
- (NSString *) description
|
||||
{
|
||||
NSMutableString *desc;
|
||||
|
||||
desc = [NSMutableString stringWithCapacity: [key length] + 24];
|
||||
|
||||
if (isZero)
|
||||
[desc appendString: @"!"];
|
||||
[desc appendFormat: @"(%@ & 0x%.8x)", key, mask];
|
||||
|
||||
return desc;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue