mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-31 19:12:44 +00:00
Monotone-Parent: 81dcdd47102e86aa7051a10cbd7a7183b374d07a
Monotone-Revision: dcee22693d3a16ba20dcd9824bd2cfd39c0cf369 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-17T19:39:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -234,7 +234,10 @@
|
||||
case PR_RULE_PROVIDER_UNICODE: // TODO: what's this?
|
||||
rc = MAPIRestrictionStateAlwaysTrue;
|
||||
break;
|
||||
case 0x81200003: // seems to be PR_CE_CHECK_INTERVAL
|
||||
case 0x81200003: // PidLidTaskStatus
|
||||
rc = MAPIRestrictionStateAlwaysTrue;
|
||||
break;
|
||||
case 0x81250040: // PidLidTaskDateCompleted
|
||||
rc = MAPIRestrictionStateAlwaysTrue;
|
||||
break;
|
||||
|
||||
@@ -245,4 +248,29 @@
|
||||
return rc;
|
||||
}
|
||||
|
||||
- (MAPIRestrictionState) evaluateExistRestriction: (struct mapi_SExistRestriction *) res
|
||||
intoQualifier: (EOQualifier **) qualifier
|
||||
{
|
||||
MAPIRestrictionState rc;
|
||||
|
||||
switch (res->ulPropTag)
|
||||
{
|
||||
case 0x81250040: // PidLidTaskDateCompleted
|
||||
/* since we don't store the completion date in the quick table, we only
|
||||
checks whether the task has been completed */
|
||||
*qualifier = [[EOKeyValueQualifier alloc]
|
||||
initWithKey: @"c_status"
|
||||
operatorSelector: EOQualifierOperatorEqual
|
||||
value: [NSNumber numberWithInt: 1]];
|
||||
[*qualifier autorelease];
|
||||
rc = MAPIRestrictionStateNeedsEval;
|
||||
break;
|
||||
|
||||
default:
|
||||
rc = [super evaluateExistRestriction: res intoQualifier: qualifier];
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user