2017-03-15 14:23:21 +01:00
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
2014-12-18 00:00:10 +01:00
|
|
|
|
2016-03-11 19:34:39 +01:00
|
|
|
#import "OWSMessageEditing.h"
|
2017-04-19 03:27:59 +02:00
|
|
|
#import "OWSMessageMediaAdapter.h"
|
2015-06-07 17:43:47 +02:00
|
|
|
#import <JSQMessagesViewController/JSQPhotoMediaItem.h>
|
2014-12-18 00:00:10 +01:00
|
|
|
|
2017-03-29 20:49:26 +02:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2016-03-11 19:34:39 +01:00
|
|
|
@class TSAttachmentStream;
|
|
|
|
|
2017-04-19 03:27:59 +02:00
|
|
|
@interface TSPhotoAdapter : JSQPhotoMediaItem <OWSMessageEditing, OWSMessageMediaAdapter>
|
2014-12-18 00:00:10 +01:00
|
|
|
|
2017-03-15 14:23:21 +01:00
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment incoming:(BOOL)incoming;
|
2014-12-18 00:00:10 +01:00
|
|
|
|
2016-03-11 19:34:39 +01:00
|
|
|
@property TSAttachmentStream *attachment;
|
2014-12-26 23:18:54 +01:00
|
|
|
@property NSString *attachmentId;
|
|
|
|
|
2014-12-18 00:00:10 +01:00
|
|
|
@end
|
2017-03-29 20:49:26 +02:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|