sogo/OpenChange/MAPIStoreFSMessageTable.m
Wolfgang Sourdeau 8a2abef968 Monotone-Parent: 7c22447764e780a8dae1012384128eed67ba6a5c
Monotone-Revision: 8e645f6ce572b9b56929f17f32c93a52e98cef27

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-12T21:34:07
Monotone-Branch: ca.inverse.sogo
2011-07-12 21:34:07 +00:00

60 lines
1.6 KiB
Objective-C

/* MAPIStoreFSMessageTable.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
* 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/NSArray.h>
#import <Foundation/NSDictionary.h>
#import <NGExtensions/NSObject+Logs.h>
#import "EOQualifier+MAPIFS.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreFSMessage.h"
#import "NSObject+MAPIStore.h"
#import "SOGoMAPIFSFolder.h"
#import "SOGoMAPIFSMessage.h"
#import "MAPIStoreFSMessageTable.h"
#undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreFSMessageK = Nil;
@implementation MAPIStoreFSMessageTable
+ (void) initialize
{
MAPIStoreFSMessageK = [MAPIStoreFSMessage class];
}
+ (Class) childObjectClass
{
return MAPIStoreFSMessageK;
}
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
{
return [NSString stringWithFormat: @"%@", MAPIPropertyKey (property)];
}
@end