From eab9037cb3a7edadc8913affcb688d010cabd35e Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 13 Dec 2010 16:46:09 +0000 Subject: [PATCH] Monotone-Parent: 17ec96618b492fe585dfeb02ba266111e8b0c4fd Monotone-Revision: c0d3a6fd3a3c39a9526e90735a8863553573d2c5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-13T16:46:09 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 10 +++++ OpenChange/MAPIStoreCommonViewsContext.h | 32 +++++++++++++ OpenChange/MAPIStoreCommonViewsContext.m | 47 ++++++++++++++++++++ OpenChange/MAPIStoreDeferredActionsContext.h | 32 +++++++++++++ OpenChange/MAPIStoreDeferredActionsContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreDeletedItemsContext.h | 32 +++++++++++++ OpenChange/MAPIStoreDeletedItemsContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreDraftsContext.h | 32 +++++++++++++ OpenChange/MAPIStoreDraftsContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreFreebusyContext.h | 6 +-- OpenChange/MAPIStoreFreebusyContext.m | 4 +- OpenChange/MAPIStoreJournalContext.h | 32 +++++++++++++ OpenChange/MAPIStoreJournalContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreNotesContext.h | 32 +++++++++++++ OpenChange/MAPIStoreNotesContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreRemindersContext.h | 32 +++++++++++++ OpenChange/MAPIStoreRemindersContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreScheduleContext.h | 32 +++++++++++++ OpenChange/MAPIStoreScheduleContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreSearchContext.h | 32 +++++++++++++ OpenChange/MAPIStoreSearchContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreSentItemsContext.h | 32 +++++++++++++ OpenChange/MAPIStoreSentItemsContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreShortcutsContext.h | 32 +++++++++++++ OpenChange/MAPIStoreShortcutsContext.m | 42 +++++++++++++++++ OpenChange/MAPIStoreViewsContext.h | 32 +++++++++++++ OpenChange/MAPIStoreViewsContext.m | 42 +++++++++++++++++ 27 files changed, 908 insertions(+), 5 deletions(-) create mode 100644 OpenChange/MAPIStoreCommonViewsContext.h create mode 100644 OpenChange/MAPIStoreCommonViewsContext.m create mode 100644 OpenChange/MAPIStoreDeferredActionsContext.h create mode 100644 OpenChange/MAPIStoreDeferredActionsContext.m create mode 100644 OpenChange/MAPIStoreDeletedItemsContext.h create mode 100644 OpenChange/MAPIStoreDeletedItemsContext.m create mode 100644 OpenChange/MAPIStoreDraftsContext.h create mode 100644 OpenChange/MAPIStoreDraftsContext.m create mode 100644 OpenChange/MAPIStoreJournalContext.h create mode 100644 OpenChange/MAPIStoreJournalContext.m create mode 100644 OpenChange/MAPIStoreNotesContext.h create mode 100644 OpenChange/MAPIStoreNotesContext.m create mode 100644 OpenChange/MAPIStoreRemindersContext.h create mode 100644 OpenChange/MAPIStoreRemindersContext.m create mode 100644 OpenChange/MAPIStoreScheduleContext.h create mode 100644 OpenChange/MAPIStoreScheduleContext.m create mode 100644 OpenChange/MAPIStoreSearchContext.h create mode 100644 OpenChange/MAPIStoreSearchContext.m create mode 100644 OpenChange/MAPIStoreSentItemsContext.h create mode 100644 OpenChange/MAPIStoreSentItemsContext.m create mode 100644 OpenChange/MAPIStoreShortcutsContext.h create mode 100644 OpenChange/MAPIStoreShortcutsContext.m create mode 100644 OpenChange/MAPIStoreViewsContext.h create mode 100644 OpenChange/MAPIStoreViewsContext.m diff --git a/ChangeLog b/ChangeLog index b04c6fcc1..0afd0f501 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2010-12-13 Wolfgang Sourdeau + * MAPIStoreCommonViewsContext.[hm], + MAPIStoreDeferredActionsContext.[hm], + MAPIStoreDeletedItemsContext.[hm], MAPIStoreDraftsContext.[hm], + MAPIStoreFreebusyContext.[hm], MAPIStoreJournalContext.[hm], + MAPIStoreNotesContext.[hm], MAPIStoreRemindersContext.[hm], + MAPIStoreScheduleContext.[hm], MAPIStoreSearchContext.[hm], + MAPIStoreSentItemsContext.[hm], MAPIStoreShortcutsContext.[hm], + MAPIStoreViewsContext.[hm]: + new subclasses of MAPIStoreFileSystemBaseContext. + * OpenChange/NSValue+MAPIStore.[hm]: new category module for returning native MAPI types. diff --git a/OpenChange/MAPIStoreCommonViewsContext.h b/OpenChange/MAPIStoreCommonViewsContext.h new file mode 100644 index 000000000..f5511a342 --- /dev/null +++ b/OpenChange/MAPIStoreCommonViewsContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreCommonViewsContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTORECOMMONVIEWSCONTEXT_H +#define MAPISTORECOMMONVIEWSCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreCommonViewsContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTORECOMMONVIEWSCONTEXT_H */ diff --git a/OpenChange/MAPIStoreCommonViewsContext.m b/OpenChange/MAPIStoreCommonViewsContext.m new file mode 100644 index 000000000..f744dbee7 --- /dev/null +++ b/OpenChange/MAPIStoreCommonViewsContext.m @@ -0,0 +1,47 @@ +/* MAPIStoreCommonViewsContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreCommonViewsContext.h" + +// #undef DEBUG +// #include +// #include +// #include + +@implementation MAPIStoreCommonViewsContext + ++ (NSString *) MAPIModuleName +{ + return @"common-views"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@common-views/" + withID: 0xc0001]; +} + +@end diff --git a/OpenChange/MAPIStoreDeferredActionsContext.h b/OpenChange/MAPIStoreDeferredActionsContext.h new file mode 100644 index 000000000..f82017dd8 --- /dev/null +++ b/OpenChange/MAPIStoreDeferredActionsContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreDeferredActionsContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTOREDEFERREDACTIONSCONTEXT_H +#define MAPISTOREDEFERREDACTIONSCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreDeferredActionsContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTOREDEFERREDACTIONSCONTEXT_H */ diff --git a/OpenChange/MAPIStoreDeferredActionsContext.m b/OpenChange/MAPIStoreDeferredActionsContext.m new file mode 100644 index 000000000..e31546842 --- /dev/null +++ b/OpenChange/MAPIStoreDeferredActionsContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreDeferredActionsContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreDeferredActionsContext.h" + +@implementation MAPIStoreDeferredActionsContext + ++ (NSString *) MAPIModuleName +{ + return @"deferred-actions"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@deferred-actions/" + withID: 0xb0001]; +} + +@end diff --git a/OpenChange/MAPIStoreDeletedItemsContext.h b/OpenChange/MAPIStoreDeletedItemsContext.h new file mode 100644 index 000000000..7bfedc0f3 --- /dev/null +++ b/OpenChange/MAPIStoreDeletedItemsContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreDeletedItemsContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTOREDELETEDITEMSCONTEXT_H +#define MAPISTOREDELETEDITEMSCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreDeletedItemsContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTOREDELETEDITEMSCONTEXT_H */ diff --git a/OpenChange/MAPIStoreDeletedItemsContext.m b/OpenChange/MAPIStoreDeletedItemsContext.m new file mode 100644 index 000000000..5cc4263c9 --- /dev/null +++ b/OpenChange/MAPIStoreDeletedItemsContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreDeletedItemsContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreDeletedItemsContext.h" + +@implementation MAPIStoreDeletedItemsContext + ++ (NSString *) MAPIModuleName +{ + return @"deleted-items"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@deleted-items/" + withID: 0x170001]; +} + +@end diff --git a/OpenChange/MAPIStoreDraftsContext.h b/OpenChange/MAPIStoreDraftsContext.h new file mode 100644 index 000000000..8b6acf102 --- /dev/null +++ b/OpenChange/MAPIStoreDraftsContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreDraftsContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTOREDRAFTSCONTEXT_H +#define MAPISTOREDRAFTSCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreDraftsContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTOREDRAFTSCONTEXT_H */ diff --git a/OpenChange/MAPIStoreDraftsContext.m b/OpenChange/MAPIStoreDraftsContext.m new file mode 100644 index 000000000..9e380ff38 --- /dev/null +++ b/OpenChange/MAPIStoreDraftsContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreDraftsContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreDraftsContext.h" + +@implementation MAPIStoreDraftsContext + ++ (NSString *) MAPIModuleName +{ + return @"drafts"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@drafts/" + withID: 0x1e0001]; +} + +@end diff --git a/OpenChange/MAPIStoreFreebusyContext.h b/OpenChange/MAPIStoreFreebusyContext.h index 05834cc9a..6b7acdcd1 100644 --- a/OpenChange/MAPIStoreFreebusyContext.h +++ b/OpenChange/MAPIStoreFreebusyContext.h @@ -6,7 +6,7 @@ * * 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) + * 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, @@ -23,9 +23,9 @@ #ifndef MAPISTOREFREEBUSYCONTEXT_H #define MAPISTOREFREEBUSYCONTEXT_H -#import "MAPIStoreContext.h" +#import "MAPIStoreFileSystemBaseContext.h" -@interface MAPIStoreFreebusyContext : MAPIStoreContext +@interface MAPIStoreFreebusyContext : MAPIStoreFileSystemBaseContext @end diff --git a/OpenChange/MAPIStoreFreebusyContext.m b/OpenChange/MAPIStoreFreebusyContext.m index bf25ff487..8b3f9e9eb 100644 --- a/OpenChange/MAPIStoreFreebusyContext.m +++ b/OpenChange/MAPIStoreFreebusyContext.m @@ -1,4 +1,4 @@ -/* MAPIStoreFreebusyContext.m - this file is part of $PROJECT_NAME_HERE$ +/* MAPIStoreFreebusyContext.m - this file is part of SOGo * * Copyright (C) 2010 Inverse inc. * @@ -6,7 +6,7 @@ * * 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) + * 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, diff --git a/OpenChange/MAPIStoreJournalContext.h b/OpenChange/MAPIStoreJournalContext.h new file mode 100644 index 000000000..8697689ec --- /dev/null +++ b/OpenChange/MAPIStoreJournalContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreJournalContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTOREJOURNALCONTEXT_H +#define MAPISTOREJOURNALCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreJournalContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTOREJOURNALCONTEXT_H */ diff --git a/OpenChange/MAPIStoreJournalContext.m b/OpenChange/MAPIStoreJournalContext.m new file mode 100644 index 000000000..7982c2f21 --- /dev/null +++ b/OpenChange/MAPIStoreJournalContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreJournalContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreJournalContext.h" + +@implementation MAPIStoreJournalContext + ++ (NSString *) MAPIModuleName +{ + return @"journal"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@journal/" + withID: 0x1b0001]; +} + +@end diff --git a/OpenChange/MAPIStoreNotesContext.h b/OpenChange/MAPIStoreNotesContext.h new file mode 100644 index 000000000..fd86ab734 --- /dev/null +++ b/OpenChange/MAPIStoreNotesContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreNotesContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTORENOTESCONTEXT_H +#define MAPISTORENOTESCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreNotesContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTORENOTESCONTEXT_H */ diff --git a/OpenChange/MAPIStoreNotesContext.m b/OpenChange/MAPIStoreNotesContext.m new file mode 100644 index 000000000..c8685fb38 --- /dev/null +++ b/OpenChange/MAPIStoreNotesContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreNotesContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreNotesContext.h" + +@implementation MAPIStoreNotesContext + ++ (NSString *) MAPIModuleName +{ + return @"notes"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@notes/" + withID: 0x1c0001]; +} + +@end diff --git a/OpenChange/MAPIStoreRemindersContext.h b/OpenChange/MAPIStoreRemindersContext.h new file mode 100644 index 000000000..1e0c571ae --- /dev/null +++ b/OpenChange/MAPIStoreRemindersContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreRemindersContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTOREREMINDERSCONTEXT_H +#define MAPISTOREREMINDERSCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreRemindersContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTOREREMINDERSCONTEXT_H */ diff --git a/OpenChange/MAPIStoreRemindersContext.m b/OpenChange/MAPIStoreRemindersContext.m new file mode 100644 index 000000000..cd51d4943 --- /dev/null +++ b/OpenChange/MAPIStoreRemindersContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreRemindersContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreRemindersContext.h" + +@implementation MAPIStoreRemindersContext + ++ (NSString *) MAPIModuleName +{ + return @"reminders"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@reminders/" + withID: 0x180001]; +} + +@end diff --git a/OpenChange/MAPIStoreScheduleContext.h b/OpenChange/MAPIStoreScheduleContext.h new file mode 100644 index 000000000..e56393b5a --- /dev/null +++ b/OpenChange/MAPIStoreScheduleContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreScheduleContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTORESCHEDULECONTEXT_H +#define MAPISTORESCHEDULECONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreScheduleContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTORESCHEDULECONTEXT_H */ diff --git a/OpenChange/MAPIStoreScheduleContext.m b/OpenChange/MAPIStoreScheduleContext.m new file mode 100644 index 000000000..ed9b42791 --- /dev/null +++ b/OpenChange/MAPIStoreScheduleContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreScheduleContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreScheduleContext.h" + +@implementation MAPIStoreScheduleContext + ++ (NSString *) MAPIModuleName +{ + return @"schedule"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@schedule/" + withID: 0xe0001]; +} + +@end diff --git a/OpenChange/MAPIStoreSearchContext.h b/OpenChange/MAPIStoreSearchContext.h new file mode 100644 index 000000000..f93ec24a7 --- /dev/null +++ b/OpenChange/MAPIStoreSearchContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreSearchContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTORESEARCHCONTEXT_H +#define MAPISTORESEARCHCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreSearchContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTORESEARCHCONTEXT_H */ diff --git a/OpenChange/MAPIStoreSearchContext.m b/OpenChange/MAPIStoreSearchContext.m new file mode 100644 index 000000000..cc39b7572 --- /dev/null +++ b/OpenChange/MAPIStoreSearchContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreSearchContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreSearchContext.h" + +@implementation MAPIStoreSearchContext + ++ (NSString *) MAPIModuleName +{ + return @"search"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@search/" + withID: 0xd0001]; +} + +@end diff --git a/OpenChange/MAPIStoreSentItemsContext.h b/OpenChange/MAPIStoreSentItemsContext.h new file mode 100644 index 000000000..955d5da03 --- /dev/null +++ b/OpenChange/MAPIStoreSentItemsContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreSentItemsContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTORESEARCHCONTEXT_H +#define MAPISTORESEARCHCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreSentItemsContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTORESEARCHCONTEXT_H */ diff --git a/OpenChange/MAPIStoreSentItemsContext.m b/OpenChange/MAPIStoreSentItemsContext.m new file mode 100644 index 000000000..1a140f80b --- /dev/null +++ b/OpenChange/MAPIStoreSentItemsContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreSentItemsContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreSentItemsContext.h" + +@implementation MAPIStoreSentItemsContext + ++ (NSString *) MAPIModuleName +{ + return @"sent-items"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@sent-items/" + withID: 0x140001]; +} + +@end diff --git a/OpenChange/MAPIStoreShortcutsContext.h b/OpenChange/MAPIStoreShortcutsContext.h new file mode 100644 index 000000000..19ba784c8 --- /dev/null +++ b/OpenChange/MAPIStoreShortcutsContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreShortcutsContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTORESHORTCUTSCONTEXT_H +#define MAPISTORESHORTCUTSCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreShortcutsContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTORESHORTCUTSCONTEXT_H */ diff --git a/OpenChange/MAPIStoreShortcutsContext.m b/OpenChange/MAPIStoreShortcutsContext.m new file mode 100644 index 000000000..55dd266bf --- /dev/null +++ b/OpenChange/MAPIStoreShortcutsContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreShortcutsContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreShortcutsContext.h" + +@implementation MAPIStoreShortcutsContext + ++ (NSString *) MAPIModuleName +{ + return @"shortcuts"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@shortcuts/" + withID: 0xf0001]; +} + +@end diff --git a/OpenChange/MAPIStoreViewsContext.h b/OpenChange/MAPIStoreViewsContext.h new file mode 100644 index 000000000..218c48828 --- /dev/null +++ b/OpenChange/MAPIStoreViewsContext.h @@ -0,0 +1,32 @@ +/* MAPIStoreViewsContext.h - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 MAPISTOREVIEWSCONTEXT_H +#define MAPISTOREVIEWSCONTEXT_H + +#import "MAPIStoreFileSystemBaseContext.h" + +@interface MAPIStoreViewsContext : MAPIStoreFileSystemBaseContext + +@end + +#endif /* MAPISTOREVIEWSCONTEXT_H */ diff --git a/OpenChange/MAPIStoreViewsContext.m b/OpenChange/MAPIStoreViewsContext.m new file mode 100644 index 000000000..f5eec2d58 --- /dev/null +++ b/OpenChange/MAPIStoreViewsContext.m @@ -0,0 +1,42 @@ +/* MAPIStoreViewsContext.m - this file is part of SOGo + * + * Copyright (C) 2010 Inverse inc. + * + * Author: Wolfgang Sourdeau + * + * 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 "MAPIStoreMapping.h" + +#import "MAPIStoreViewsContext.h" + +@implementation MAPIStoreViewsContext + ++ (NSString *) MAPIModuleName +{ + return @"views"; +} + ++ (void) registerFixedMappings: (MAPIStoreMapping *) mapping +{ + [mapping registerURL: @"sogo://openchange:openchange@views/" + withID: 0x110001]; +} + +@end