Monotone-Parent: 52d4d51e45d656f36fb470bd76ffe251fdc37b9c
Monotone-Revision: fafa72b8e42848069a3affa9d8e8895134ebc136 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-05-31T05:04:46 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
29056ba07d
commit
f409c1cb3e
|
@ -1,5 +1,9 @@
|
|||
2011-05-31 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreFallbackContext.[hm]: new class module for
|
||||
the "fallback" context, used by the OpenChange core to create
|
||||
contexts that are not specifically handled.
|
||||
|
||||
* OpenChange/MAPIStoreSOGo.m (sogo_create_context): a new struct
|
||||
mapistore_connection_info * is now passed as parameter, which
|
||||
contains useful data about the current connection.
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
/* MAPIStoreFallbackContext.h - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2010 Inverse inc.
|
||||
*
|
||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
*
|
||||
* This file is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This file is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef MAPISTOREFALLBACKCONTEXT_H
|
||||
#define MAPISTOREFALLBACKCONTEXT_H
|
||||
|
||||
#import "MAPIStoreFSBaseContext.h"
|
||||
|
||||
@interface MAPIStoreFallbackContext : MAPIStoreFSBaseContext
|
||||
|
||||
@end
|
||||
|
||||
#endif /* MAPISTOREFALLBACKCONTEXT_H */
|
|
@ -0,0 +1,42 @@
|
|||
/* MAPIStoreFallbackContext.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2011 Inverse inc.
|
||||
*
|
||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
*
|
||||
* This file is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This file is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#import "MAPIStoreFSFolder.h"
|
||||
|
||||
#import "MAPIStoreFallbackContext.h"
|
||||
|
||||
@implementation MAPIStoreFallbackContext
|
||||
|
||||
+ (NSString *) MAPIModuleName
|
||||
{
|
||||
return @"fallback";
|
||||
}
|
||||
|
||||
- (void) setupBaseFolder: (NSURL *) newURL
|
||||
{
|
||||
baseFolder = [MAPIStoreFSFolder baseFolderWithURL: newURL inContext: self];
|
||||
[baseFolder retain];
|
||||
}
|
||||
|
||||
@end
|
Loading…
Reference in New Issue