mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
This was done as part of unforking JSQMessagesViewController, but is intentionally a separate commit so we can separate formatting changes from code changes in git history. * Import frameworks like: #import <FrameworkName/HeaderName.h> * instead of: #import "HeaderName.h" // FREEBIE
18 lines
441 B
Objective-C
18 lines
441 B
Objective-C
// Created by Frederic Jacobs on 17/12/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <JSQMessagesViewController/JSQPhotoMediaItem.h>
|
|
#import "TSAttachmentStream.h"
|
|
|
|
@interface TSPhotoAdapter : JSQPhotoMediaItem
|
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment;
|
|
|
|
- (BOOL)isImage;
|
|
- (BOOL)isAudio;
|
|
- (BOOL)isVideo;
|
|
@property NSString *attachmentId;
|
|
|
|
@end
|