2009-09-09 17:30:22 +02:00
|
|
|
/* NGVCard+SOGo.h - this file is part of SOGo
|
|
|
|
*
|
2014-01-22 17:27:27 +01:00
|
|
|
* Copyright (C) 2009-2014 Inverse inc.
|
2009-09-09 17:30:22 +02:00
|
|
|
*
|
|
|
|
* 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 NGVCARD_SOGO_H
|
|
|
|
#define NGVCARD_SOGO_H
|
|
|
|
|
|
|
|
#import <NGCards/NGVCard.h>
|
|
|
|
|
2011-12-30 21:39:07 +01:00
|
|
|
@class NSDictionary;
|
|
|
|
@class NSMutableDictionary;
|
|
|
|
|
2009-09-09 17:30:22 +02:00
|
|
|
@interface NGVCard (SOGoExtensions)
|
|
|
|
|
2014-02-06 02:56:01 +01:00
|
|
|
- (CardElement *) elementWithTag: (NSString *) elementTag
|
|
|
|
ofType: (NSString *) type;
|
|
|
|
|
2011-12-30 21:39:07 +01:00
|
|
|
- (void) updateFromLDIFRecord: (NSDictionary *) ldifRecord;
|
|
|
|
- (NSMutableDictionary *) asLDIFRecord;
|
2009-09-09 17:30:22 +02:00
|
|
|
|
2014-06-19 21:51:57 +02:00
|
|
|
- (void) setAttributes: (NSDictionary *) attributes;
|
|
|
|
//- (NSDictionary *) attributes;
|
|
|
|
|
2014-01-22 17:27:27 +01:00
|
|
|
- (NSString *) workCompany;
|
|
|
|
- (NSString *) fullName;
|
|
|
|
- (NSArray *) secondaryEmails;
|
|
|
|
|
|
|
|
- (NSString *) workPhone;
|
|
|
|
- (NSString *) homePhone;
|
|
|
|
- (NSString *) fax;
|
|
|
|
- (NSString *) mobile;
|
|
|
|
- (NSString *) pager;
|
|
|
|
- (NSCalendarDate *) birthday;
|
|
|
|
|
2009-09-09 17:30:22 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* NGVCARD_SOGO_H */
|