2007-06-19 19:58:21 +02:00
|
|
|
/* UIxPreferences.h - this file is part of SOGo
|
|
|
|
*
|
2013-11-11 16:49:58 +01:00
|
|
|
* Copyright (C) 2007-2013 Inverse inc.
|
2007-06-19 19:58:21 +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 UIXPREFERENCES_H
|
|
|
|
#define UIXPREFERENCES_H
|
|
|
|
|
|
|
|
#import <SOGoUI/UIxComponent.h>
|
2014-03-10 15:33:27 +01:00
|
|
|
#import <NGImap4/NGSieveClient.h>
|
2007-06-19 19:58:21 +02:00
|
|
|
|
|
|
|
@class NSString;
|
|
|
|
|
2013-11-11 16:49:58 +01:00
|
|
|
@class SOGoMailLabel;
|
2007-06-19 19:58:21 +02:00
|
|
|
@class SOGoUser;
|
|
|
|
|
|
|
|
@interface UIxPreferences : UIxComponent
|
|
|
|
{
|
2007-11-06 18:13:15 +01:00
|
|
|
id item;
|
2007-06-19 19:58:21 +02:00
|
|
|
SOGoUser *user;
|
2014-03-10 15:33:27 +01:00
|
|
|
NGSieveClient *client;
|
2014-04-09 16:35:10 +02:00
|
|
|
|
2014-03-27 20:27:48 +01:00
|
|
|
// Addressbook
|
|
|
|
NSMutableDictionary *addressBooksIDWithDisplayName;
|
|
|
|
|
2013-11-11 16:49:58 +01:00
|
|
|
// Calendar categories
|
2010-10-26 21:26:50 +02:00
|
|
|
NSString *category;
|
2009-12-01 17:53:15 +01:00
|
|
|
NSArray *calendarCategories;
|
|
|
|
NSDictionary *calendarCategoriesColors;
|
2013-11-11 16:49:58 +01:00
|
|
|
|
2010-10-26 21:26:50 +02:00
|
|
|
NSArray *contactsCategories;
|
2007-06-19 19:58:21 +02:00
|
|
|
NSCalendarDate *today;
|
2013-11-11 16:49:58 +01:00
|
|
|
|
|
|
|
// Mail labels/tags
|
|
|
|
SOGoMailLabel *label;
|
|
|
|
NSArray *mailLabels;
|
|
|
|
|
|
|
|
// Sieve filtering
|
2009-10-09 22:30:42 +02:00
|
|
|
NSArray *daysOfWeek, *daysBetweenResponsesList;
|
2010-03-02 20:57:30 +01:00
|
|
|
NSArray *sieveFilters;
|
2009-10-09 22:30:42 +02:00
|
|
|
NSMutableDictionary *vacationOptions, *forwardOptions;
|
2013-11-11 16:49:58 +01:00
|
|
|
|
2012-04-20 15:37:46 +02:00
|
|
|
BOOL mailCustomFromEnabled;
|
2010-03-25 21:17:50 +01:00
|
|
|
BOOL hasChanged;
|
2013-11-11 16:49:58 +01:00
|
|
|
|
|
|
|
|
2007-06-19 19:58:21 +02:00
|
|
|
}
|
|
|
|
|
2009-10-08 18:24:31 +02:00
|
|
|
- (NSString *) userLongDateFormat;
|
2014-03-10 15:33:27 +01:00
|
|
|
- (BOOL) isSieveServerAvailable;
|
2014-03-10 15:53:44 +01:00
|
|
|
- (id) sieveClient;
|
2009-10-08 18:24:31 +02:00
|
|
|
|
2007-06-19 19:58:21 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* UIXPREFERENCES_H */
|