mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
46 lines
1.3 KiB
Objective-C
46 lines
1.3 KiB
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "DebugUIMessagesUtils.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface DebugUIMessagesAssetLoader : NSObject
|
|
|
|
@property (nonatomic) NSString *filename;
|
|
@property (nonatomic) NSString *mimeType;
|
|
|
|
@property (nonatomic) ActionPrepareBlock prepareBlock;
|
|
|
|
@property (nonatomic, nullable) NSString *filePath;
|
|
|
|
- (NSString *)labelEmoji;
|
|
|
|
#pragma mark -
|
|
|
|
+ (instancetype)jpegInstance;
|
|
+ (instancetype)gifInstance;
|
|
+ (instancetype)largeGifInstance;
|
|
+ (instancetype)mp3Instance;
|
|
+ (instancetype)mp4Instance;
|
|
+ (instancetype)compactPortraitPngInstance;
|
|
+ (instancetype)compactLandscapePngInstance;
|
|
+ (instancetype)tallPortraitPngInstance;
|
|
+ (instancetype)wideLandscapePngInstance;
|
|
+ (instancetype)largePngInstance;
|
|
+ (instancetype)tinyPngInstance;
|
|
+ (instancetype)pngInstanceWithSize:(CGSize)size
|
|
backgroundColor:(UIColor *)backgroundColor
|
|
textColor:(UIColor *)textColor
|
|
label:(NSString *)label;
|
|
+ (instancetype)tinyPdfInstance;
|
|
+ (instancetype)largePdfInstance;
|
|
+ (instancetype)missingPngInstance;
|
|
+ (instancetype)missingPdfInstance;
|
|
+ (instancetype)oversizeTextInstance;
|
|
+ (instancetype)oversizeTextInstanceWithText:(NSString *)text;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|