2006-07-29 00:59:11 +02:00
|
|
|
/*
|
|
|
|
Copyright (C) 2004-2005 SKYRIX Software AG
|
|
|
|
|
|
|
|
This file is part of OpenGroupware.org.
|
|
|
|
|
|
|
|
OGo is free software; you can redistribute it and/or modify it under
|
|
|
|
the terms of the GNU Lesser General Public License as published by the
|
|
|
|
Free Software Foundation; either version 2, or (at your option) any
|
|
|
|
later version.
|
|
|
|
|
|
|
|
OGo 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 Lesser General Public
|
|
|
|
License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with OGo; see the file COPYING. If not, write to the
|
|
|
|
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2010-05-27 16:41:59 +02:00
|
|
|
#ifndef UIXMAILLISTACTIONS_H
|
|
|
|
#define UIXMAILLISTACTIONS_H
|
2006-07-29 00:59:11 +02:00
|
|
|
|
2010-05-27 19:09:02 +02:00
|
|
|
#import <NGObjWeb/WODirectAction.h>
|
2006-07-29 00:59:11 +02:00
|
|
|
|
2008-10-08 20:38:03 +02:00
|
|
|
@class NSDictionary;
|
2006-07-29 00:59:11 +02:00
|
|
|
@class EOQualifier;
|
2007-06-19 20:07:21 +02:00
|
|
|
@class SOGoDateFormatter;
|
2006-07-29 00:59:11 +02:00
|
|
|
|
2010-05-27 19:09:02 +02:00
|
|
|
@interface UIxMailListActions : WODirectAction
|
2006-07-29 00:59:11 +02:00
|
|
|
{
|
2007-07-13 15:45:51 +02:00
|
|
|
NSArray *sortedUIDs; /* we always need to retrieve all anyway! */
|
|
|
|
NSArray *messages;
|
|
|
|
id message;
|
2007-06-19 20:07:21 +02:00
|
|
|
SOGoDateFormatter *dateFormatter;
|
|
|
|
NSTimeZone *userTimeZone;
|
2011-06-01 23:10:25 +02:00
|
|
|
BOOL sortByThread;
|
2007-11-05 23:39:10 +01:00
|
|
|
int folderType;
|
2010-05-27 16:41:59 +02:00
|
|
|
int specificMessageNumber;
|
2006-07-29 00:59:11 +02:00
|
|
|
}
|
|
|
|
|
2007-06-28 20:28:33 +02:00
|
|
|
- (NSString *) defaultSortKey;
|
|
|
|
- (NSString *) imap4SortKey;
|
|
|
|
- (NSString *) imap4SortOrdering;
|
2010-05-27 16:41:59 +02:00
|
|
|
- (EOQualifier *) searchQualifier;
|
|
|
|
- (NSString *) msgLabels;
|
2006-07-29 00:59:11 +02:00
|
|
|
|
2010-06-25 21:58:30 +02:00
|
|
|
- (NSArray *) getSortedUIDsInFolder: (SOGoMailFolder *) mailFolder;
|
|
|
|
- (NSArray *) getHeadersForUIDs: (NSArray *) uids
|
|
|
|
inFolder: (SOGoMailFolder *) mailFolder;
|
2011-07-08 19:38:27 +02:00
|
|
|
- (NSDictionary *) getUIDsInFolder: (SOGoMailFolder *) folder
|
|
|
|
withHeaders: (BOOL) includeHeaders;
|
2010-06-25 21:58:30 +02:00
|
|
|
|
2011-07-08 19:38:27 +02:00
|
|
|
- (id <WOActionResults>) getUIDsAction;
|
2010-05-27 19:09:02 +02:00
|
|
|
- (id <WOActionResults>) getHeadersAction;
|
|
|
|
|
2006-07-29 00:59:11 +02:00
|
|
|
@end
|
|
|
|
|
2010-05-27 16:41:59 +02:00
|
|
|
#endif /* UIXMAILLISTACTIONS_H */
|