2014-11-19 21:17:53 +01:00
|
|
|
//
|
|
|
|
// TSCall.h
|
|
|
|
// TextSecureKit
|
|
|
|
//
|
|
|
|
// Created by Frederic Jacobs on 12/11/14.
|
|
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
#import "TSInteraction.h"
|
2014-11-27 03:10:00 +01:00
|
|
|
#import "Contact.h"
|
2014-11-19 21:17:53 +01:00
|
|
|
|
2014-12-29 22:40:33 +01:00
|
|
|
#import "RecentCall.h"
|
2014-11-19 21:17:53 +01:00
|
|
|
|
2014-12-29 22:40:33 +01:00
|
|
|
@interface TSCall : TSInteraction
|
2014-11-19 21:17:53 +01:00
|
|
|
|
2014-12-29 22:40:33 +01:00
|
|
|
@property (nonatomic, readonly)RPRecentCallType callType;
|
2014-11-19 21:17:53 +01:00
|
|
|
|
2014-11-27 03:10:00 +01:00
|
|
|
- (instancetype)initWithTimestamp:(uint64_t)timeStamp
|
|
|
|
withCallNumber:(NSString*)contactNumber
|
2014-12-29 22:40:33 +01:00
|
|
|
callType:(RPRecentCallType)callType
|
|
|
|
inThread:(TSContactThread*)thread;
|
2014-11-19 21:17:53 +01:00
|
|
|
|
|
|
|
@end
|