mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
24 lines
597 B
Objective-C
24 lines
597 B
Objective-C
//
|
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class ConversationStyle;
|
|
@class TSAttachment;
|
|
|
|
@protocol ConversationViewItem;
|
|
|
|
@interface OWSGenericAttachmentView : UIStackView
|
|
|
|
- (instancetype)initWithAttachment:(TSAttachment *)attachment
|
|
isIncoming:(BOOL)isIncoming
|
|
viewItem:(id<ConversationViewItem>)viewItem;
|
|
|
|
- (void)createContentsWithConversationStyle:(ConversationStyle *)conversationStyle;
|
|
|
|
- (CGSize)measureSizeWithMaxMessageWidth:(CGFloat)maxMessageWidth;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|