2010-10-01 20:54:30 +02:00
|
|
|
/* MAPIStoreCalendarContext.m - 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
|
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.
|
|
|
|
*/
|
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
#import <Foundation/NSString.h>
|
2012-01-29 20:55:21 +01:00
|
|
|
#import <Appointments/SOGoAppointmentFolders.h>
|
2010-12-03 23:31:56 +01:00
|
|
|
|
2010-11-22 17:03:30 +01:00
|
|
|
#import "MAPIStoreMapping.h"
|
2011-02-24 21:32:27 +01:00
|
|
|
#import "MAPIStoreCalendarFolder.h"
|
2012-01-29 20:55:21 +01:00
|
|
|
#import "MAPIStoreUserContext.h"
|
2010-10-01 20:54:30 +02:00
|
|
|
|
|
|
|
#import "MAPIStoreCalendarContext.h"
|
|
|
|
|
2012-01-26 20:54:36 +01:00
|
|
|
#undef DEBUG
|
|
|
|
#include <mapistore/mapistore.h>
|
|
|
|
|
2012-01-29 20:55:21 +01:00
|
|
|
static Class MAPIStoreCalendarFolderK;
|
|
|
|
|
2010-10-01 20:54:30 +02:00
|
|
|
@implementation MAPIStoreCalendarContext
|
|
|
|
|
2012-01-29 20:55:21 +01:00
|
|
|
+ (void) initialize
|
|
|
|
{
|
|
|
|
MAPIStoreCalendarFolderK = [MAPIStoreCalendarFolder class];
|
|
|
|
}
|
|
|
|
|
2010-11-22 22:32:11 +01:00
|
|
|
+ (NSString *) MAPIModuleName
|
|
|
|
{
|
|
|
|
return @"calendar";
|
|
|
|
}
|
|
|
|
|
2012-01-30 21:11:49 +01:00
|
|
|
+ (enum mapistore_context_role) MAPIModuleRole
|
2012-01-26 20:54:36 +01:00
|
|
|
{
|
2012-01-30 21:11:49 +01:00
|
|
|
return MAPISTORE_CALENDAR_ROLE;
|
2012-01-26 20:54:36 +01:00
|
|
|
}
|
|
|
|
|
2012-01-29 20:55:21 +01:00
|
|
|
- (Class) MAPIStoreFolderClass
|
|
|
|
{
|
|
|
|
return MAPIStoreCalendarFolderK;
|
|
|
|
}
|
|
|
|
|
2010-10-01 20:54:30 +02:00
|
|
|
@end
|