1 /* SOGoDomainDefaults.h - this file is part of SOGo 2 * 3 * Copyright (C) 2009-2016 Inverse inc. 4 * 5 * This file is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2, or (at your option) 8 * any later version. 9 * 10 * This file is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; see the file COPYING. If not, write to 17 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 * Boston, MA 02111-1307, USA. 19 */ 20 21 #ifndef SOGODOMAINDEFAULTS_H 22 #define SOGODOMAINDEFAULTS_H 23 24 #import <SOGo/SOGoLDAPDefaults.h> 25 #import <SOGo/SOGoUserDefaults.h> 26 27 @interface SOGoDomainDefaults : SOGoUserDefaults <SOGoLDAPDefaults> 28 29 + (SOGoDomainDefaults *) defaultsForDomain: (NSString *) domainId; 30 31 - (NSString *) profileURL; 32 - (NSString *) folderInfoURL; 33 34 - (NSArray *) superUsernames; 35 36 - (NSArray *) userSources; 37 38 - (BOOL) mailCustomFromEnabled; 39 - (BOOL) mailAuxiliaryUserAccountsEnabled; 40 41 - (NSString *) mailDomain; 42 - (NSString *) imapServer; 43 - (NSString *) sieveServer; 44 - (NSString *) imapCASServiceName; 45 - (NSString *) imapAclStyle; 46 - (NSString *) imapAclGroupIdPrefix; 47 - (NSString *) imapFolderSeparator; 48 - (BOOL) imapAclConformsToIMAPExt; 49 - (BOOL) forceExternalLoginWithEmail; 50 - (BOOL) sieveScriptsEnabled; 51 - (BOOL) forwardEnabled; 52 - (int) forwardConstraints; 53 - (BOOL) vacationEnabled; 54 - (NSString *) mailingMechanism; 55 - (NSString *) smtpServer; 56 - (NSString *) smtpAuthenticationType; 57 - (NSString *) mailSpoolPath; 58 - (float) softQuotaRatio; 59 - (BOOL) mailKeepDraftsAfterSend; 60 - (BOOL) mailAttachTextDocumentsInline; 61 - (NSArray *) mailListViewColumnsOrder; 62 63 - (BOOL) aclSendEMailNotifications; 64 - (BOOL) appointmentSendEMailNotifications; 65 - (BOOL) foldersSendEMailNotifications; 66 - (NSArray *) calendarDefaultRoles; 67 - (NSArray *) contactsDefaultRoles; 68 - (NSArray *) refreshViewIntervals; 69 - (NSString *) subscriptionFolderFormat; 70 71 - (NSArray *) freeBusyDefaultInterval; 72 - (int) davCalendarStartTimeLimit; 73 74 - (BOOL) iPhoneForceAllDayTransparency; 75 76 - (NSArray *) additionalJSFiles; 77 78 - (BOOL) hideSystemEMail; 79 80 - (int) searchMinimumWordLength; 81 - (BOOL) notifyOnPersonalModifications; 82 - (BOOL) notifyOnExternalModifications; 83 84 - (NSDictionary *) mailJunkSettings; 85 86 @end 87 88 #endif /* SOGODOMAINDEFAULTS_H */ 89