sogo/SoObjects/Appointments/SOGoTaskObject.h
Wolfgang Sourdeau e09ac2e383 Monotone-Parent: c33c456b52c6e6d4ee1f29bfd9ca57096b8d13be
Monotone-Revision: 5539e3c473023281dd04f7cb8a8fee051ac0735d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-11T19:08:58
Monotone-Branch: ca.inverse.sogo
2007-04-11 19:08:58 +00:00

64 lines
1.8 KiB
Objective-C

/*
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.
*/
#ifndef __Appointments_SOGoTaskObject_H__
#define __Appointments_SOGoTaskObject_H__
#import "SOGoCalendarComponent.h"
/*
SOGoTaskObject
Represents a single task. This SOPE controller object manages all the
attendee storages (that is, it might store into multiple folders for meeting
tasks!).
Note: SOGoTaskObject do not need to exist yet. They can also be "new"
tasks with an externally generated unique key.
*/
@class NSArray;
@class NSException;
@class NSString;
@class iCalToDo;
@class iCalCalendar;
@interface SOGoTaskObject : SOGoCalendarComponent
/* folder management */
- (id) lookupHomeFolderForUID: (NSString *) _uid
inContext: (id) _ctx;
- (NSArray *) lookupCalendarFoldersForUIDs: (NSArray *) _uids
inContext: (id) _ctx;
/* "iCal multifolder saves" */
- (NSException *) saveContentString: (NSString *) _iCal
baseSequence: (int) _v;
- (NSException *) deleteWithBaseSequence: (int) _v;
- (NSException *) saveContentString: (NSString *) _iCalString;
@end
#endif /* __Appointmentss_SOGoTaskObject_H__ */