|
|
@ -2,6 +2,8 @@
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
|
|
typedef void (^BackgroundTaskExpirationHandler)(void);
|
|
|
|
typedef void (^BackgroundTaskExpirationHandler)(void);
|
|
|
|
|
|
|
|
|
|
|
|
@protocol AppContext <NSObject>
|
|
|
|
@protocol AppContext <NSObject>
|
|
|
@ -16,3 +18,5 @@ typedef void (^BackgroundTaskExpirationHandler)(void);
|
|
|
|
|
|
|
|
|
|
|
|
id<AppContext> CurrentAppContext();
|
|
|
|
id<AppContext> CurrentAppContext();
|
|
|
|
void SetCurrentAppContext(id<AppContext> appContext);
|
|
|
|
void SetCurrentAppContext(id<AppContext> appContext);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|
|
|
|