]> err.no Git - scalable-opengroupware.org/blob - SoObjects/Contacts/SOGoContactLDIFEntry.h
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1056 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / SoObjects / Contacts / SOGoContactLDIFEntry.h
1 /* SOGoContactLDIFEntry.h - this file is part of SOGo
2  * Copyright (C) 2006 Inverse groupe conseil
3  *
4  * Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
5  *
6  * This file is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * This file is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; see the file COPYING.  If not, write to
18  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #ifndef SOGOCONTACTLDIFENTRY_H
23 #define SOGOCONTACTLDIFENTRY_H
24
25 #import <SOGo/SOGoObject.h>
26
27 #import "SOGoContactObject.h"
28
29 @class NSDictionary;
30 @class NSString;
31
32 @interface SOGoContactLDIFEntry : SOGoObject <SOGoContactObject>
33 {
34   NSString *name;
35   NSDictionary *ldifEntry;
36   NGVCard *vcard;
37   id container;
38 }
39
40 + (SOGoContactLDIFEntry *) contactEntryWithName: (NSString *) newName
41                                   withLDIFEntry: (NSDictionary *) newEntry
42                                     inContainer: (id) newContainer;
43 - (id) initWithName: (NSString *) newName
44       withLDIFEntry: (NSDictionary *) newEntry
45         inContainer: (id) newContainer;
46
47 @end
48
49 #endif /* SOGOCONTACTLDIFENTRY_H */