session-ios/Signal/src/ViewControllers/ConversationView/Cells/OWSGenericAttachmentView.h

21 lines
470 B
C
Raw Normal View History

2017-10-10 22:13:54 +02:00
//
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
2017-10-10 22:13:54 +02:00
//
NS_ASSUME_NONNULL_BEGIN
2018-07-09 15:58:02 +02:00
@class ConversationStyle;
@class TSAttachment;
2017-10-10 22:13:54 +02:00
2018-06-27 20:53:31 +02:00
@interface OWSGenericAttachmentView : UIStackView
2017-10-10 22:13:54 +02:00
- (instancetype)initWithAttachment:(TSAttachment *)attachment isIncoming:(BOOL)isIncoming;
2017-10-10 22:13:54 +02:00
2018-07-09 15:58:02 +02:00
- (void)createContentsWithConversationStyle:(ConversationStyle *)conversationStyle;
2017-10-10 22:13:54 +02:00
2018-06-29 15:54:22 +02:00
- (CGSize)measureSizeWithMaxMessageWidth:(CGFloat)maxMessageWidth;
2017-10-10 22:13:54 +02:00
@end
NS_ASSUME_NONNULL_END