mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
706 B
C
26 lines
706 B
C
11 years ago
|
//
|
||
7 years ago
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
||
11 years ago
|
//
|
||
|
|
||
7 years ago
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
10 years ago
|
#define RECENT_CALLS_DEFAULT_KEY @"RPRecentCallsDefaultKey"
|
||
|
|
||
7 years ago
|
typedef void (^VersionMigrationCompletion)(void);
|
||
|
|
||
11 years ago
|
@interface VersionMigrations : NSObject
|
||
|
|
||
7 years ago
|
+ (void)performUpdateCheckWithCompletion:(VersionMigrationCompletion)completion;
|
||
10 years ago
|
|
||
8 years ago
|
+ (BOOL)isVersion:(NSString *)thisVersionString
|
||
|
atLeast:(NSString *)openLowerBoundVersionString
|
||
|
andLessThan:(NSString *)closedUpperBoundVersionString;
|
||
|
|
||
8 years ago
|
+ (BOOL)isVersion:(NSString *)thisVersionString atLeast:(NSString *)thatVersionString;
|
||
|
|
||
8 years ago
|
+ (BOOL)isVersion:(NSString *)thisVersionString lessThan:(NSString *)thatVersionString;
|
||
|
|
||
11 years ago
|
@end
|
||
7 years ago
|
|
||
|
NS_ASSUME_NONNULL_END
|