2015-08-23 00:00:39 +02:00
|
|
|
//
|
2017-09-19 23:45:18 +02:00
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
2015-08-23 00:00:39 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
@interface LockInteractionController : NSObject
|
|
|
|
|
2017-11-08 20:04:51 +01:00
|
|
|
typedef void (^LIControllerCompletionBlock)(void);
|
|
|
|
typedef BOOL (^LIControllerBlockingOperation)(void);
|
2017-12-04 18:38:44 +01:00
|
|
|
typedef void (^LIControllerRetryBlock)(
|
|
|
|
LIControllerBlockingOperation operationBlock, LIControllerCompletionBlock completionBlock);
|
2015-08-23 00:00:39 +02:00
|
|
|
|
|
|
|
+ (void)performBlock:(LIControllerBlockingOperation)blockingOperation
|
|
|
|
completionBlock:(LIControllerCompletionBlock)completionBlock
|
|
|
|
retryBlock:(LIControllerRetryBlock)retryBlock
|
|
|
|
usesNetwork:(BOOL)networkFlag;
|
|
|
|
|
|
|
|
+ (LIControllerRetryBlock)defaultNetworkRetry;
|
|
|
|
|
|
|
|
@end
|