session-ios/Signal/src/Models/TSMessageAdapaters/TSPhotoAdapter.h

23 lines
538 B
C
Raw Normal View History

//
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
//
2014-12-18 00:00:10 +01:00
#import "OWSMessageEditing.h"
#import "OWSMessageMediaAdapter.h"
#import <JSQMessagesViewController/JSQPhotoMediaItem.h>
2014-12-18 00:00:10 +01:00
2017-03-29 20:49:26 +02:00
NS_ASSUME_NONNULL_BEGIN
@class TSAttachmentStream;
@interface TSPhotoAdapter : JSQPhotoMediaItem <OWSMessageEditing, OWSMessageMediaAdapter>
2014-12-18 00:00:10 +01:00
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment incoming:(BOOL)incoming;
2014-12-18 00:00:10 +01:00
@property TSAttachmentStream *attachment;
@property NSString *attachmentId;
2014-12-18 00:00:10 +01:00
@end
2017-03-29 20:49:26 +02:00
NS_ASSUME_NONNULL_END