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 */