Monotone-Parent: 137388e5a62c0c3196b473a491b63e122e1187ab

Monotone-Revision: 0e46ab67294e538548e44aa045080c9bd982e337

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-12-03T22:23:30
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2010-12-03 22:23:30 +00:00
parent 21c13343c5
commit 2a1ced4a94
2 changed files with 49 additions and 1 deletions

View file

@ -1,3 +1,4 @@
# GNUstep makefile
include ../config.make
@ -36,6 +37,7 @@ $(SOGOBACKEND)_OBJC_FILES += \
MAPIStoreFreebusyContext.m \
MAPIStoreMailContext.m \
MAPIStoreOutboxContext.m \
MAPIStoreSpoolerContext.m \
MAPIStoreTasksContext.m \
\
SOGoAppointmentObject+MAPIStore.m \
@ -63,7 +65,12 @@ else
LIBMAPI_LIBS = $(shell pkg-config libmapistore --libs) -lmapiproxy
ADDITIONAL_INCLUDE_DIRS += $(LIBMAPI_CFLAGS) -I../SoObjects -I../SOPE -DBACKEND_BUNDLE_NAME="@\"$(BUNDLE_NAME)$(BUNDLE_EXTENSION)\"" -DSOGO_BUNDLES_DIR="@\"$(BUNDLE_INSTALL_DIR)\""
ADDITIONAL_INCLUDE_DIRS += \
-Werror -Wall \
$(LIBMAPI_CFLAGS) \
-I../SoObjects -I../SOPE \
-DBACKEND_BUNDLE_NAME="@\"$(BUNDLE_NAME)$(BUNDLE_EXTENSION)\"" \
-DSOGO_BUNDLES_DIR="@\"$(BUNDLE_INSTALL_DIR)\""
ADDITIONAL_LIB_DIRS += -Wl,--as-needed \
-L../SOGo/SOGo.framework/ -lSOGo \
-L../../OGoContentStore/$(GNUSTEP_OBJ_DIR)/ -lOGoContentStore \

View file

@ -0,0 +1,41 @@
/* MAPIStoreSpoolerContext.m - this file is part of $PROJECT_NAME_HERE$
*
* Copyright (C) 2010 Wolfgang Sourdeau
*
* 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 2, 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 "MAPIStoreMapping.h"
#import "MAPIStoreSpoolerContext.h"
@implementation MAPIStoreSpoolerContext
+ (NSString *) MAPIModuleName
{
return @"spooler";
}
+ (void) registerFixedMappings: (MAPIStoreMapping *) mapping
{
[mapping registerURL: @"sogo://openchange:openchange@spooler/"
withID: 0x120001];
}
@end