23 lines
487 B
Objective-C
23 lines
487 B
Objective-C
//
|
|
// TSAttachementAdapter.h
|
|
// Signal
|
|
//
|
|
// Created by Frederic Jacobs on 17/12/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <JSQMessagesViewController/JSQPhotoMediaItem.h>
|
|
#import "TSAttachmentStream.h"
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface TSPhotoAdapter : JSQPhotoMediaItem
|
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream*)attachment;
|
|
|
|
- (BOOL)isImage;
|
|
- (BOOL)isAudio;
|
|
- (BOOL)isVideo;
|
|
@property NSString *attachmentId;
|
|
|
|
@end
|