mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-10 14:05:26 +00:00
Monotone-Parent: 3506bd18bc8c2147bebd7f22c05323ede7752c62
Monotone-Revision: 394b1692941b08185f4b0f87ec52bc7c0dc6c824 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-22T20:28:49 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -39,4 +39,24 @@
|
||||
[self logWithFormat: @"unimplemented method: %@", NSStringFromSelector (_cmd)];
|
||||
}
|
||||
|
||||
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
|
||||
intoQualifier: (EOQualifier **) qualifier
|
||||
{
|
||||
MAPIRestrictionState rc;
|
||||
id value;
|
||||
|
||||
value = NSObjectFromMAPISPropValue (&res->lpProp);
|
||||
switch ((uint32_t) res->ulPropTag)
|
||||
{
|
||||
case PR_CHANGE_NUM:
|
||||
[self warnWithFormat: @"!!!hack pending synchronisation enhancement"];
|
||||
rc = MAPIRestrictionStateAlwaysTrue;
|
||||
break;
|
||||
default:
|
||||
rc = [super evaluatePropertyRestriction: res intoQualifier: qualifier];
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSFileManager.h>
|
||||
#import <Foundation/NSProcessInfo.h>
|
||||
|
||||
#import <SaxObjC/SaxXMLReaderFactory.h>
|
||||
@@ -37,18 +38,14 @@
|
||||
- (NSArray *) saxReaderSearchPathes
|
||||
{
|
||||
NSArray *pathes, *args;
|
||||
NSDictionary *env;
|
||||
NSString *pwd, *exedir;
|
||||
NSString *cwd, *exedir;
|
||||
|
||||
args = [[NSProcessInfo processInfo] arguments];
|
||||
env = [[NSProcessInfo processInfo] environment];
|
||||
pwd = [env objectForKey: @"PWD"];
|
||||
if (!pwd)
|
||||
pwd = @"";
|
||||
cwd = [[NSFileManager defaultManager] currentDirectoryPath];
|
||||
exedir = [[args objectAtIndex: 0] stringByDeletingLastPathComponent];
|
||||
pathes = [NSArray arrayWithObject:
|
||||
[NSString stringWithFormat: @"%@/%@/%@",
|
||||
pwd, exedir,
|
||||
cwd, exedir,
|
||||
@"../../../SOPE/NGCards/versitCardsSaxDriver/"]];
|
||||
|
||||
return pathes;
|
||||
|
||||
Reference in New Issue
Block a user