2011-02-24 21:30:01 +01:00
|
|
|
/* MAPIStoreMailMessage.h - this file is part of SOGo
|
2011-02-07 18:49:47 +01:00
|
|
|
*
|
2012-08-17 21:04:57 +02:00
|
|
|
* Copyright (C) 2011-2012 Inverse inc
|
2011-02-07 18:49:47 +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.
|
|
|
|
*/
|
|
|
|
|
2011-02-24 21:30:01 +01:00
|
|
|
#ifndef MAPISTOREMAILMESSAGE_H
|
|
|
|
#define MAPISTOREMAILMESSAGE_H
|
2011-02-07 18:49:47 +01:00
|
|
|
|
|
|
|
|
2011-07-19 23:31:16 +02:00
|
|
|
@class NSData;
|
|
|
|
@class NSString;
|
|
|
|
|
2011-07-21 17:05:17 +02:00
|
|
|
@class MAPIStoreAppointmentWrapper;
|
2011-09-14 20:33:44 +02:00
|
|
|
@class MAPIStoreMailFolder;
|
2011-07-21 17:05:17 +02:00
|
|
|
|
2011-02-24 21:30:01 +01:00
|
|
|
@interface MAPIStoreMailMessage : MAPIStoreMessage
|
2011-07-15 22:22:27 +02:00
|
|
|
{
|
2011-07-21 17:05:17 +02:00
|
|
|
BOOL headerSetup;
|
|
|
|
BOOL mailIsEvent;
|
2015-05-06 16:22:06 +02:00
|
|
|
BOOL mailIsMeetingRequest;
|
2015-03-02 23:41:04 +01:00
|
|
|
BOOL mailIsSharingObject;
|
2011-07-21 17:05:17 +02:00
|
|
|
NSString *mimeKey;
|
|
|
|
NSString *headerCharset;
|
|
|
|
NSString *headerEncoding;
|
|
|
|
NSString *headerMimeType;
|
2011-07-19 23:31:16 +02:00
|
|
|
BOOL bodySetup;
|
|
|
|
NSData *bodyContent;
|
2011-07-21 17:05:17 +02:00
|
|
|
BOOL fetchedAttachments;
|
|
|
|
|
|
|
|
MAPIStoreAppointmentWrapper *appointmentWrapper;
|
2011-07-15 22:22:27 +02:00
|
|
|
}
|
2011-02-07 18:49:47 +01:00
|
|
|
|
2011-07-20 20:30:05 +02:00
|
|
|
- (NSString *) subject;
|
|
|
|
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagIconIndex: (void **) data
|
2011-08-04 19:03:29 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagFlagStatus: (void **) data
|
2011-08-04 19:03:29 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
|
|
|
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagMessageFlags: (void **) data
|
2011-08-04 17:35:55 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagFollowupIcon: (void **) data
|
2011-08-04 19:10:22 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagImportance: (void **) data
|
2011-08-04 17:45:52 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagReceivedByEmailAddress: (void **) data
|
2011-08-04 17:54:05 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagSenderEmailAddress: (void **) data
|
2011-08-04 18:03:10 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagDisplayTo: (void **) data
|
2011-10-19 15:58:22 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagDisplayCc: (void **) data
|
2011-08-04 18:12:06 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2012-03-02 21:44:24 +01:00
|
|
|
- (int) getPidTagDisplayBcc: (void **) data
|
2011-10-19 15:58:22 +02:00
|
|
|
inMemCtx: (TALLOC_CTX *) memCtx;
|
2011-08-04 17:35:55 +02:00
|
|
|
|
2012-10-06 19:02:39 +02:00
|
|
|
/* batch-mode helpers */
|
|
|
|
- (NSString *) bodyContentPartKey;
|
|
|
|
- (void) setBodyContentFromRawData: (NSData *) rawContent;
|
|
|
|
|
2011-02-07 18:49:47 +01:00
|
|
|
@end
|
|
|
|
|
2011-02-24 21:30:01 +01:00
|
|
|
#endif /* MAPISTOREMAILMESSAGE_H */
|