diff --git a/ChangeLog b/ChangeLog index 39bcf4fe4..360599ed8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-08-09 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactObject.h: new protocol that + defines the methods that UIxContactsView, ..Editor and so on... + can expect. + * SoObjects/Contacts/SOGoContactFolder.h: new protocol that defines the methods that UIxContactsListViewBase expects as well as the data fields returned in the contact lists. diff --git a/SoObjects/Contacts/SOGoContactObject.h b/SoObjects/Contacts/SOGoContactObject.h new file mode 100644 index 000000000..d6fe2e96b --- /dev/null +++ b/SoObjects/Contacts/SOGoContactObject.h @@ -0,0 +1,49 @@ +/* + 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 __Contacts_SOGoContactObject_H__ +#define __Contacts_SOGoContactObject_H__ + +/* + SOGoContactObject + + Represents a single contact. This SOPE controller object manages all the + attendee storages (that is, it might store into multiple folders for meeting + appointments!). + + Note: SOGoContactObject do not need to exist yet. They can also be "new" + appointments with an externally generated unique key. +*/ + +@class NSDictionary; +@class NSString; +@class NGVCard; + +@protocol SOGoContactObject + +- (NSString *) contentAsString; +- (NGVCard *) vCard; + +- (NSString *) davEntityTag; + +@end + +#endif /* __Contacts_SOGoContactObject_H__ */