sogo/SoObjects/Contacts/SOGoContactLDAPFolder.h
Wolfgang Sourdeau 1e478b6a31 Monotone-Parent: 10bf3b04ce5a5a21464583f7f4e84e2f1a15ebbd
Monotone-Revision: bc323b6b1daa8bf2032ce4ebb7f5596ad96cba2f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-09T21:22:26
Monotone-Branch: ca.inverse.sogo
2006-08-09 21:22:26 +00:00

57 lines
1.7 KiB
Objective-C

/* SOGoContactLDAPFolder.h - this file is part of SOGo
*
* Copyright (C) 2006 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* 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 SOGOCONTACTLDAPFOLDER_H
#define SOGOCONTACTLDAPFOLDER_H
#import <SOGo/SOGoObject.h>
#import "SOGoContactFolder.h"
@class NSString, NSArray;
@class NGLdapConnection;
@interface SOGoContactLDAPFolder : SOGoObject <SOGoContactFolder>
{
NGLdapConnection *connection;
NSString *contactIdentifier;
NSString *rootDN;
NSString *displayName;
NSMutableDictionary *entries;
}
- (NGLdapConnection *) LDAPconnection;
- (void) setDisplayName: (NSString *) aDisplayName;
- (NSString *) displayName;
- (void) LDAPSetHostname: (NSString *) aHostname
setPort: (int) aPort
setBindDN: (NSString *) aBindDN
setBindPW: (NSString *) aBindPW
setContactIdentifier: (NSString *) aCI
setRootDN: (NSString *) aRootDN;
@end
#endif /* SOGOCONTACTLDAPFOLDER_H */