session-ios/Signal/src/call/RecentCallManager.h

21 lines
697 B
C
Raw Normal View History

2014-05-06 19:41:08 +02:00
#import <Foundation/Foundation.h>
#import "PhoneManager.h"
#import "RecentCall.h"
2014-05-06 19:41:08 +02:00
/**
*
* 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.
*
*/
2014-12-29 22:40:33 +01:00
@interface RecentCallManager : NSObject
2014-05-06 19:41:08 +02:00
- (void)watchForCallsThrough:(PhoneManager *)phoneManager untilCancelled:(TOCCancelToken *)untilCancelledToken;
2014-05-06 19:41:08 +02:00
- (void)addRecentCall:(RecentCall *)recentCall;
- (void)addMissedCallDueToBusy:(ResponderSessionDescriptor *)incomingCallDescriptor;
2014-12-29 22:40:33 +01:00
2014-05-06 19:41:08 +02:00
@end