2010-10-01 20:54:30 +02:00
|
|
|
/* MAPIStoreContactsContext.m - this file is part of SOGo
|
|
|
|
*
|
2012-08-17 21:04:57 +02:00
|
|
|
* Copyright (C) 2010-2012 Inverse inc.
|
2010-10-01 20:54:30 +02:00
|
|
|
*
|
|
|
|
* 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
|
2010-10-18 14:57:31 +02:00
|
|
|
* the Free Software Foundation; either version 3, or (at your option)
|
2010-10-01 20:54:30 +02:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2016-02-17 16:09:18 +01:00
|
|
|
#import <Foundation/NSString.h>
|
2010-10-01 20:54:30 +02:00
|
|
|
|
2016-02-17 16:09:18 +01:00
|
|
|
#import <Contacts/SOGoContactFolders.h>
|
2012-01-29 20:55:21 +01:00
|
|
|
|
2016-02-17 16:09:18 +01:00
|
|
|
#import "MAPIStoreContactsFolder.h"
|
|
|
|
#import "MAPIStoreUserContext.h"
|
2010-10-01 20:54:30 +02:00
|
|
|
|
2016-02-17 16:09:18 +01:00
|
|
|
#import "MAPIStoreContactsContext.h"
|
2010-10-01 20:54:30 +02:00
|
|
|
|
2012-01-26 20:54:36 +01:00
|
|
|
#undef DEBUG
|
2016-02-17 16:09:18 +01:00
|
|
|
#include <mapistore/mapistore.h>
|
2012-01-26 20:54:36 +01:00
|
|
|
|
2012-01-29 20:55:21 +01:00
|
|
|
static Class MAPIStoreContactsFolderK;
|
|
|
|
|
2010-10-01 20:54:30 +02:00
|
|
|
@implementation MAPIStoreContactsContext
|
|
|
|
|
2012-01-29 20:55:21 +01:00
|
|
|
+ (void) initialize
|
|
|
|
{
|
|
|
|
MAPIStoreContactsFolderK = [MAPIStoreContactsFolder class];
|
|
|
|
}
|
|
|
|
|
2010-11-22 22:32:11 +01:00
|
|
|
+ (NSString *) MAPIModuleName
|
|
|
|
{
|
|
|
|
return @"contacts";
|
|
|
|
}
|
|
|
|
|
2012-02-03 15:58:33 +01:00
|
|
|
+ (enum mapistore_context_role) MAPIContextRole
|
2012-01-26 20:54:36 +01:00
|
|
|
{
|
2012-01-30 21:11:49 +01:00
|
|
|
return MAPISTORE_CONTACTS_ROLE;
|
2012-01-26 20:54:36 +01:00
|
|
|
}
|
|
|
|
|
2012-01-29 20:55:21 +01:00
|
|
|
- (Class) MAPIStoreFolderClass
|
|
|
|
{
|
|
|
|
return MAPIStoreContactsFolderK;
|
|
|
|
}
|
|
|
|
|
2010-10-01 20:54:30 +02:00
|
|
|
@end
|