2011-02-24 21:32:27 +01:00
|
|
|
/* MAPIStoreMailFolder.h - this file is part of SOGo
|
|
|
|
*
|
2012-08-17 21:04:57 +02:00
|
|
|
* Copyright (C) 2011-2012 Inverse inc
|
2011-02-24 21:32:27 +01:00
|
|
|
*
|
|
|
|
* 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 MAPISTOREMAILFOLDER_H
|
|
|
|
#define MAPISTOREMAILFOLDER_H
|
|
|
|
|
|
|
|
#import "MAPIStoreFolder.h"
|
|
|
|
|
2011-07-28 02:52:38 +02:00
|
|
|
@class NSNumber;
|
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
@class WOContext;
|
|
|
|
|
|
|
|
@class SOGoMailAccount;
|
|
|
|
@class SOGoMailFolder;
|
|
|
|
|
2011-06-07 02:17:46 +02:00
|
|
|
@class MAPIStoreMailMessageTable;
|
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
@interface MAPIStoreMailFolder : MAPIStoreFolder
|
2011-06-07 02:17:46 +02:00
|
|
|
{
|
2012-06-29 19:59:38 +02:00
|
|
|
SOGoMAPIDBMessage *versionsMessage;
|
2012-10-06 19:02:39 +02:00
|
|
|
NSMutableDictionary *bodyData;
|
2011-06-07 02:17:46 +02:00
|
|
|
}
|
2011-02-24 21:32:27 +01:00
|
|
|
|
2012-02-14 15:58:34 +01:00
|
|
|
- (BOOL) ensureFolderExists;
|
|
|
|
|
2011-07-28 02:52:38 +02:00
|
|
|
/* synchronisation & versioning */
|
|
|
|
- (BOOL) synchroniseCache;
|
2012-10-09 22:39:24 +02:00
|
|
|
- (NSNumber *) modseqFromMessageChangeNumber: (NSString *) changeNum;
|
|
|
|
- (NSString *) messageUIDFromMessageKey: (NSString *) messageKey;
|
|
|
|
- (NSString *) changeNumberForMessageUID: (NSString *) messageUid;
|
2011-09-20 21:37:03 +02:00
|
|
|
- (void) setChangeKey: (NSData *) changeKey
|
|
|
|
forMessageWithKey: (NSString *) messageKey;
|
|
|
|
- (NSData *) changeKeyForMessageWithKey: (NSString *) messageKey;
|
|
|
|
- (NSData *) predecessorChangeListForMessageWithKey: (NSString *) messageKey;
|
2011-07-28 02:52:38 +02:00
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
@end
|
|
|
|
|
2012-02-20 20:47:58 +01:00
|
|
|
/* MAPIStoreOutboxFolder is a special subclass of MAPIStoreMailFolder where
|
|
|
|
the displayname is always "Outbox" and can not be changed. */
|
|
|
|
@interface MAPIStoreOutboxFolder : MAPIStoreMailFolder
|
|
|
|
@end
|
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
#endif /* MAPISTOREMAILFOLDER_H */
|