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
|