session-ios/Signal/src/view controllers/TSAttachmentAdapter.h

23 lines
482 B
C
Raw Normal View History

2014-12-18 00:00:10 +01:00
//
// TSAttachementAdapter.h
// Signal
//
// Created by Frederic Jacobs on 17/12/14.
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
//
#import <JSQMessagesViewController/JSQMediaItem.h>
2014-12-21 12:52:42 +01:00
#import "TSAttachmentStream.h"
2014-12-18 00:00:10 +01:00
#import <Foundation/Foundation.h>
2014-12-21 12:52:42 +01:00
@interface TSAttachmentAdapter : JSQMediaItem
2014-12-18 00:00:10 +01:00
2014-12-21 12:52:42 +01:00
- (instancetype)initWithAttachment:(TSAttachmentStream*)attachment;
2014-12-18 00:00:10 +01:00
- (BOOL)isImage;
- (BOOL)isAudio;
- (BOOL)isVideo;
@property NSString *attachmentId;
2014-12-18 00:00:10 +01:00
@end