(feat) handling of encrypted mails in generic viewer handler

This commit is contained in:
Ludovic Marcotte
2017-12-23 09:21:28 -05:00
parent c80f016c18
commit 35c7f483d9
2 changed files with 79 additions and 82 deletions
+10 -8
View File
@@ -1,15 +1,15 @@
/*
Copyright (C) 2015 Inverse inc.
Copyright (C) 2015-2017 Inverse inc.
Copyright (C) 2004-2005 SKYRIX Software AG
This file is part of OpenGroupware.org.
This file is part of SOGo.
OGo is free software; you can redistribute it and/or modify it under
SOGo 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
SOGo 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.
@@ -54,6 +54,7 @@
NSArray *partPath;
id bodyInfo;
NSData *flatContent;
id decodedContent;
NSDictionary *attachmentIds;
}
@@ -71,7 +72,11 @@
- (void) setAttachmentIds: (NSDictionary *) newAttachmentIds;
- (NSData *)flatContent;
- (NSData *)decodedFlatContent;
- (void) setFlatContent: (NSData *) theData;
- (id) decodedFlatContent;
- (void) setDecodedContent: (id) theData;
- (NSString *)flatContentAsString;
- (NSString *)preferredPathExtension;
@@ -86,11 +91,8 @@
/* part URLs */
- (NSString *)pathToAttachmentObject; /* link to SoObject */
- (NSString *)pathToAttachment; /* download link */
- (NSString *) mimeImageURL;
@end
#endif /* __Mailer_UIxMailPartViewer_H__ */