session-ios/src/Messages/TSCall.h
Michael Kirk 2858694ee0 style changes // fix compiler warnings
- log errors
- forward declare where possible
- clang-format
- remove inaccurate file headers
- include Pods in Example app build target to get SignalServiceKit warnings
- Fix those warnings!

// FREEBIE
2016-07-31 08:48:46 -07:00

23 lines
628 B
Objective-C

// Created by Frederic Jacobs on 12/11/14.
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
#import "TSInteraction.h"
@class TSContactThread;
typedef enum {
RPRecentCallTypeIncoming = 1,
RPRecentCallTypeOutgoing,
RPRecentCallTypeMissed,
} RPRecentCallType;
@interface TSCall : TSInteraction
@property (nonatomic, readonly) RPRecentCallType callType;
- (instancetype)initWithTimestamp:(uint64_t)timeStamp
withCallNumber:(NSString *)contactNumber
callType:(RPRecentCallType)callType
inThread:(TSContactThread *)thread;
@end