mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
(feat) handling of encrypted mails in generic viewer handler
This commit is contained in:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user