From 04116b854da67062880ae2aedf2abe528d60a32e Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 4 Aug 2006 22:47:46 +0000 Subject: [PATCH] Monotone-Parent: c2ee10fbf9266b5c8710519bc2fd13bae46e672b Monotone-Revision: 91dd6d07cd2a752896f5efd6ce493656b0ec13ea Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-04T22:47:46 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 +++ SoObjects/Contacts/SOGoContactSource.h | 36 ++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 SoObjects/Contacts/SOGoContactSource.h diff --git a/ChangeLog b/ChangeLog index 60fa4e014..4756d20bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-08-04 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactSource.h: new "SOGoContactSource" + protocol defining an API common to all possible types of contact + sources. + * SoObjects/Contacts/SOGoContactFolders.[hm]: new class module serving as the root of the contact folders available to the current user. Correctly lists the contact sources in webdav. diff --git a/SoObjects/Contacts/SOGoContactSource.h b/SoObjects/Contacts/SOGoContactSource.h new file mode 100644 index 000000000..8a2b5b1c7 --- /dev/null +++ b/SoObjects/Contacts/SOGoContactSource.h @@ -0,0 +1,36 @@ +/* SOGoContactSource.h - this file is part of SOGo + * + * Copyright (C) 2006 Inverse groupe conseil + * + * Author: Wolfgang Sourdeau + * + * 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) + * 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 SOGOCONTACTSOURCE_H +#define SOGOCONTACTSOURCE_H + +#import + +@class SOGoContactRecord; + +@protocol SOGoContactSource + +- (SOGoContactRecord *) lookupRecordWithId: (NSString *) recordId; + +@end + +#endif /* SOGOCONTACTSOURCE_H */