2016-10-19 06:32:48 +02:00
|
|
|
//
|
2017-05-12 21:39:57 +02:00
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
2016-10-19 06:32:48 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <JSQMessagesViewController/JSQMediaItem.h>
|
|
|
|
|
|
|
|
@interface JSQMediaItem (OWS)
|
|
|
|
|
2017-05-12 21:39:57 +02:00
|
|
|
- (CGFloat)ows_maxMediaBubbleWidth:(CGSize)defaultBubbleSize;
|
|
|
|
|
2016-10-19 06:32:48 +02:00
|
|
|
- (CGSize)ows_adjustBubbleSize:(CGSize)bubbleSize forImage:(UIImage *)image;
|
|
|
|
|
2017-05-17 18:13:37 +02:00
|
|
|
- (CGSize)ows_adjustBubbleSize:(CGSize)bubbleSize forImageSize:(CGSize)imageSize;
|
|
|
|
|
2017-05-19 20:10:12 +02:00
|
|
|
- (CGSize)sizeOfImageAtURL:(NSURL *)imageURL;
|
2017-05-17 18:13:37 +02:00
|
|
|
|
2016-10-19 06:32:48 +02:00
|
|
|
@end
|