session-ios/Signal/src/call/RecentCallManager.h
Frederic Jacobs c6d44e59e2 TextSecureKit Refactoring
- 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.
2015-12-22 23:41:10 +01:00

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