mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 05:17:15 +00:00
See Changelog.
Monotone-Parent: f13b039579047763006c2956ddf349f1bff203a3 Monotone-Revision: f6c7d4502b60b66206223a822d4911218f4bbacf Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-08-26T14:14:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
d2b696fcfa
commit
c512f1240f
49 files changed
+507
-139
No files matched your search
@@ -55,6 +55,9 @@
|
||||
|
||||
- (BOOL) expandGroupsInEvent: (iCalEvent *) theEvent;
|
||||
|
||||
- (NSException *) copyComponent: (iCalCalendar *) calendar
|
||||
toFolder: (SOGoGCSFolder *) newFolder;
|
||||
|
||||
- (void) saveComponent: (iCalRepeatableEntityObject *) newObject;
|
||||
|
||||
/* mail notifications */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* SOGoCalendarComponent.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2006-2009 Inverse inc.
|
||||
* Copyright (C) 2006-2010 Inverse inc.
|
||||
*
|
||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
*
|
||||
@@ -1041,16 +1041,20 @@ static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence,
|
||||
}
|
||||
|
||||
- (NSException *) copyToFolder: (SOGoGCSFolder *) newFolder
|
||||
{
|
||||
return [self copyComponent: [self calendar: NO secure: NO]
|
||||
toFolder: newFolder];
|
||||
}
|
||||
|
||||
- (NSException *) copyComponent: (iCalCalendar *) calendar
|
||||
toFolder: (SOGoGCSFolder *) newFolder
|
||||
{
|
||||
NSArray *elements;
|
||||
NSString *newUID;
|
||||
unsigned int count, max;
|
||||
iCalCalendar *calendar;
|
||||
SOGoCalendarComponent *newComponent;
|
||||
|
||||
newUID = [self globallyUniqueObjectId];
|
||||
calendar = [self calendar: NO secure: NO];
|
||||
|
||||
elements = [calendar allObjects];
|
||||
max = [elements count];
|
||||
for (count = 0; count < max; count++)
|
||||
|
||||
Reference in new issue
Block a user