mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
c6d44e59e2
- Using same clang format file for old and new files. - Moving out all TextSecure code to allow other clients (OS X, iOS) to integrate easily TextSecure functionality. - Use TextSecure API to signup.
21 lines
697 B
Objective-C
21 lines
697 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "PhoneManager.h"
|
|
#import "RecentCall.h"
|
|
|
|
/**
|
|
*
|
|
* RecentCallManager is used for adding and reading RecentCall objects from NSUserDefaults.
|
|
* Recent Call objects that are non-archived are to be displayed in the Inbox and persist in RecentCallViewController.
|
|
* This class also contains an observable value that can be subscribed to which gives updates.
|
|
*
|
|
*/
|
|
|
|
@interface RecentCallManager : NSObject
|
|
|
|
- (void)watchForCallsThrough:(PhoneManager *)phoneManager untilCancelled:(TOCCancelToken *)untilCancelledToken;
|
|
|
|
- (void)addRecentCall:(RecentCall *)recentCall;
|
|
- (void)addMissedCallDueToBusy:(ResponderSessionDescriptor *)incomingCallDescriptor;
|
|
|
|
@end
|