From 99d49b9bd95dff92f9167d99037266d12490ca87 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 13 May 2014 21:14:57 -0400 Subject: [PATCH] Updated code to use the category --- OpenChange/GNUmakefile | 1 + OpenChange/MAPIStoreFolder.m | 1 + OpenChange/SOGoCacheGCSObject+MAPIStore.h | 25 ++++++++++++++++++++++ OpenChange/SOGoCacheGCSObject+MAPIStore.m | 26 +++++++++++++++++++++++ 4 files changed, 53 insertions(+) diff --git a/OpenChange/GNUmakefile b/OpenChange/GNUmakefile index 4ad6a0165..2a7bac557 100644 --- a/OpenChange/GNUmakefile +++ b/OpenChange/GNUmakefile @@ -47,6 +47,7 @@ $(SOGOBACKEND)_OBJC_FILES += \ MAPIStoreUserContext.m \ \ SOGoMAPIDBMessage.m \ + SOGoCacheGCSObject+MAPIStore.m \ \ MAPIStoreAppointmentWrapper.m \ MAPIStoreAttachment.m \ diff --git a/OpenChange/MAPIStoreFolder.m b/OpenChange/MAPIStoreFolder.m index fd54c4a43..fa2111b93 100644 --- a/OpenChange/MAPIStoreFolder.m +++ b/OpenChange/MAPIStoreFolder.m @@ -51,6 +51,7 @@ #import "NSObject+MAPIStore.h" #import #import "SOGoMAPIDBMessage.h" +#import "SOGoCacheGCSObject+MAPIStore.h" #include diff --git a/OpenChange/SOGoCacheGCSObject+MAPIStore.h b/OpenChange/SOGoCacheGCSObject+MAPIStore.h index b28efe1ca..da8452e3d 100644 --- a/OpenChange/SOGoCacheGCSObject+MAPIStore.h +++ b/OpenChange/SOGoCacheGCSObject+MAPIStore.h @@ -1,3 +1,26 @@ +/* SOGoCacheGCSObject+MAPIStore.h - this file is part of SOGo + * + * Copyright (C) 2014 Inverse inc. + * + * 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 SOGOCACHEGCSOBJECTMAPISTORE +#define SOGOCACHEGCSOBJECTMAPISTORE + #include @interface SOGoCacheGCSObject (MAPIStore) @@ -5,3 +28,5 @@ - (Class) mapistoreMessageClass; @end + +#endif // SOGOCACHEGCSOBJECTMAPISTORE diff --git a/OpenChange/SOGoCacheGCSObject+MAPIStore.m b/OpenChange/SOGoCacheGCSObject+MAPIStore.m index d768a3603..679bee089 100644 --- a/OpenChange/SOGoCacheGCSObject+MAPIStore.m +++ b/OpenChange/SOGoCacheGCSObject+MAPIStore.m @@ -1,3 +1,29 @@ +/* SOGoCacheGCSObject+MAPIStore.m - this file is part of SOGo + * + * Copyright (C) 2014 Inverse inc. + * + * 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 +#import +#import + +#include "MAPIStoreTypes.h" + #include "SOGoCacheGCSObject+MAPIStore.h" @implementation SOGoCacheGCSObject (MAPIStore)