Monotone-Parent: fb790a4b86faa504859d822223314cd9a2c2d831
Monotone-Revision: 104af6e1abeb0a3c63ebfba6d0a604e3b3e0e13d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-30T13:32:23 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
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>
|
2010-12-29 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||||
|
|
||||||
* Moved the string encryption code from SoObjects/SOGo/SQLSource.m
|
* Moved the string encryption code from SoObjects/SOGo/SQLSource.m
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#import <Foundation/NSString.h>
|
||||||
|
|
||||||
#import "EOBitmaskQualifier.h"
|
#import "EOBitmaskQualifier.h"
|
||||||
|
|
||||||
@implementation EOBitmaskQualifier
|
@implementation EOBitmaskQualifier
|
||||||
|
@ -59,4 +61,17 @@
|
||||||
return isZero;
|
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
|
@end
|
||||||
|
|
Loading…
Reference in a new issue