Monotone-Parent: 17ec96618b492fe585dfeb02ba266111e8b0c4fd

Monotone-Revision: c0d3a6fd3a3c39a9526e90735a8863553573d2c5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-12-13T16:46:09
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-12-13 16:46:09 +00:00
parent b1a420e4e7
commit eab9037cb3
27 changed files with 908 additions and 5 deletions
+10
View File
@@ -1,5 +1,15 @@
2010-12-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreCommonViewsContext.h - 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.
*/
#ifndef MAPISTORECOMMONVIEWSCONTEXT_H
#define MAPISTORECOMMONVIEWSCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreCommonViewsContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTORECOMMONVIEWSCONTEXT_H */
+47
View File
@@ -0,0 +1,47 @@
/* MAPIStoreCommonViewsContext.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/NSString.h>
#import "MAPIStoreMapping.h"
#import "MAPIStoreCommonViewsContext.h"
// #undef DEBUG
// #include <mapistore/mapistore.h>
// #include <mapistore/mapistore_errors.h>
// #include <libmapiproxy.h>
@implementation MAPIStoreCommonViewsContext
+ (NSString *) MAPIModuleName
{
return @"common-views";
}
+ (void) registerFixedMappings: (MAPIStoreMapping *) mapping
{
[mapping registerURL: @"sogo://openchange:openchange@common-views/"
withID: 0xc0001];
}
@end
@@ -0,0 +1,32 @@
/* MAPIStoreDeferredActionsContext.h - 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.
*/
#ifndef MAPISTOREDEFERREDACTIONSCONTEXT_H
#define MAPISTOREDEFERREDACTIONSCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreDeferredActionsContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTOREDEFERREDACTIONSCONTEXT_H */
@@ -0,0 +1,42 @@
/* MAPIStoreDeferredActionsContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreDeletedItemsContext.h - 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.
*/
#ifndef MAPISTOREDELETEDITEMSCONTEXT_H
#define MAPISTOREDELETEDITEMSCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreDeletedItemsContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTOREDELETEDITEMSCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreDeletedItemsContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreDraftsContext.h - 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.
*/
#ifndef MAPISTOREDRAFTSCONTEXT_H
#define MAPISTOREDRAFTSCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreDraftsContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTOREDRAFTSCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreDraftsContext.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/NSString.h>
#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
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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,
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreJournalContext.h - 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.
*/
#ifndef MAPISTOREJOURNALCONTEXT_H
#define MAPISTOREJOURNALCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreJournalContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTOREJOURNALCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreJournalContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreNotesContext.h - 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.
*/
#ifndef MAPISTORENOTESCONTEXT_H
#define MAPISTORENOTESCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreNotesContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTORENOTESCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreNotesContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreRemindersContext.h - 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.
*/
#ifndef MAPISTOREREMINDERSCONTEXT_H
#define MAPISTOREREMINDERSCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreRemindersContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTOREREMINDERSCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreRemindersContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreScheduleContext.h - 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.
*/
#ifndef MAPISTORESCHEDULECONTEXT_H
#define MAPISTORESCHEDULECONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreScheduleContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTORESCHEDULECONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreScheduleContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreSearchContext.h - 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.
*/
#ifndef MAPISTORESEARCHCONTEXT_H
#define MAPISTORESEARCHCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreSearchContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTORESEARCHCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreSearchContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreSentItemsContext.h - 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.
*/
#ifndef MAPISTORESEARCHCONTEXT_H
#define MAPISTORESEARCHCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreSentItemsContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTORESEARCHCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreSentItemsContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreShortcutsContext.h - 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.
*/
#ifndef MAPISTORESHORTCUTSCONTEXT_H
#define MAPISTORESHORTCUTSCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreShortcutsContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTORESHORTCUTSCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreShortcutsContext.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/NSString.h>
#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
+32
View File
@@ -0,0 +1,32 @@
/* MAPIStoreViewsContext.h - 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.
*/
#ifndef MAPISTOREVIEWSCONTEXT_H
#define MAPISTOREVIEWSCONTEXT_H
#import "MAPIStoreFileSystemBaseContext.h"
@interface MAPIStoreViewsContext : MAPIStoreFileSystemBaseContext
@end
#endif /* MAPISTOREVIEWSCONTEXT_H */
+42
View File
@@ -0,0 +1,42 @@
/* MAPIStoreViewsContext.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/NSString.h>
#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