session-ios/Signal/src/view controllers/LockInteractionController.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

26 lines
800 B
Objective-C

//
// LockInteractionController.h
// Signal
//
// Created by Frederic Jacobs on 22/08/15.
// Copyright (c) 2015 Open Whisper Systems. All rights reserved.
//
#import <Foundation/Foundation.h>
@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