mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
c6d44e59e2
- 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.
25 lines
800 B
Objective-C
25 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
|