1 /* SQLSource.h - this file is part of SOGo
2  *
3  * Copyright (C) 2009-2011 Inverse inc.
4  *
5  * Authors: Ludovic Marcotte <lmarcotte@inverse.ca>
6  *          Francis Lachapelle <flachapelle@invers.ca>
7  *
8  * This file is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2, or (at your option)
11  * any later version.
12  *
13  * This file is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; see the file COPYING.  If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
24 #ifndef SQLSOURCE_H
25 #define SQLSOURCE_H
26 
27 #import <Foundation/NSObject.h>
28 
29 #import "SOGoSource.h"
30 
31 @class NSArray;
32 @class NSDictionary;
33 @class NSString;
34 @class NSURL;
35 
36 @interface SQLSource : NSObject <SOGoSource>
37 {
38   NSString *_sourceID;
39   NSString *_domain;
40   NSString *_domainField;
41   NSString *_authenticationFilter;
42   NSArray *_loginFields;
43   NSArray *_mailFields;
44   NSString *_imapLoginField;
45   NSString *_imapHostField;
46   NSString *_sieveHostField;
47   NSString *_userPasswordAlgorithm;
48   NSURL *_viewURL;
49   BOOL _prependPasswordScheme;
50 
51   /* resources handling */
52   NSString *_kindField;
53   NSString *_multipleBookingsField;
54 }
55 
56 @end
57 
58 #endif /* SQLSOURCE_H */
59