// // LockInteractionController.h // Signal // // Created by Frederic Jacobs on 22/08/15. // Copyright (c) 2015 Open Whisper Systems. All rights reserved. // #import @interface LockInteractionController : NSObject typedef void (^LIControllerCompletionBlock)(); typedef BOOL (^LIControllerBlockingOperation)(); typedef void (^LIControllerRetryBlock)(LIControllerBlockingOperation operationBlock, LIControllerCompletionBlock completionBlock); + (void)performBlock:(LIControllerBlockingOperation)blockingOperation completionBlock:(LIControllerCompletionBlock)completionBlock retryBlock:(LIControllerRetryBlock)retryBlock usesNetwork:(BOOL)networkFlag; + (LIControllerRetryBlock)defaultNetworkRetry; @end