2006-10-11 20:59:06 +02:00
|
|
|
/*
|
|
|
|
Copyright (C) 2004-2005 SKYRIX Software AG
|
|
|
|
|
|
|
|
This file is part of OpenGroupware.org.
|
|
|
|
|
|
|
|
OGo is free software; you can redistribute it and/or modify it under
|
|
|
|
the terms of the GNU Lesser General Public License as published by the
|
|
|
|
Free Software Foundation; either version 2, or (at your option) any
|
|
|
|
later version.
|
|
|
|
|
|
|
|
OGo 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 Lesser General Public
|
|
|
|
License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with OGo; see the file COPYING. If not, write to the
|
|
|
|
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2007-08-09 22:58:01 +02:00
|
|
|
#import <Foundation/NSException.h>
|
|
|
|
#import <Foundation/NSUserDefaults.h>
|
2006-12-14 22:20:13 +01:00
|
|
|
|
2007-08-09 22:58:01 +02:00
|
|
|
#import <NGExtensions/NSObject+Logs.h>
|
|
|
|
#import <NGExtensions/NSNull+misc.h>
|
2006-12-14 22:20:13 +01:00
|
|
|
#import <NGCards/iCalCalendar.h>
|
|
|
|
#import <NGCards/iCalToDo.h>
|
|
|
|
#import <NGCards/iCalEventChanges.h>
|
|
|
|
#import <NGCards/iCalPerson.h>
|
2007-05-09 20:25:51 +02:00
|
|
|
#import <SOGo/LDAPUserManager.h>
|
2007-08-09 22:58:01 +02:00
|
|
|
|
|
|
|
#import <SoObjects/SOGo/SOGoMailer.h>
|
2006-10-11 20:59:06 +02:00
|
|
|
|
|
|
|
#import "NSArray+Appointments.h"
|
2007-08-09 22:58:01 +02:00
|
|
|
#import "SOGoAptMailNotification.h"
|
2007-09-15 00:01:02 +02:00
|
|
|
#import "SOGoAppointmentFolder.h"
|
2008-07-17 23:12:43 +02:00
|
|
|
#import "SOGoTaskOccurence.h"
|
2007-08-09 22:58:01 +02:00
|
|
|
|
|
|
|
#import "SOGoTaskObject.h"
|
2006-10-11 20:59:06 +02:00
|
|
|
|
|
|
|
@implementation SOGoTaskObject
|
|
|
|
|
2007-02-15 21:59:02 +01:00
|
|
|
- (NSString *) componentTag
|
2006-10-11 20:59:06 +02:00
|
|
|
{
|
2007-02-15 21:59:02 +01:00
|
|
|
return @"vtodo";
|
2006-10-11 20:59:06 +02:00
|
|
|
}
|
|
|
|
|
2008-07-17 23:12:43 +02:00
|
|
|
- (SOGoComponentOccurence *) occurence: (iCalRepeatableEntityObject *) occ
|
|
|
|
{
|
|
|
|
return [SOGoTaskOccurence occurenceWithComponent: occ
|
|
|
|
withMasterComponent: [self component: NO
|
|
|
|
secure: NO]
|
|
|
|
inContainer: self];
|
|
|
|
}
|
|
|
|
|
2006-10-11 20:59:06 +02:00
|
|
|
/* message type */
|
|
|
|
|
2007-11-18 11:16:25 +01:00
|
|
|
- (NSString *) outlookMessageClass
|
|
|
|
{
|
2006-10-11 20:59:06 +02:00
|
|
|
return @"IPM.Task";
|
|
|
|
}
|
|
|
|
|
|
|
|
@end /* SOGoTaskObject */
|