2014-07-30 08:05:36 +02:00
|
|
|
//
|
2018-01-26 22:51:01 +01:00
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
2014-07-30 08:05:36 +02:00
|
|
|
//
|
|
|
|
|
2018-01-30 17:27:44 +01:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2015-01-11 17:48:18 +01:00
|
|
|
#define RECENT_CALLS_DEFAULT_KEY @"RPRecentCallsDefaultKey"
|
|
|
|
|
2018-01-30 17:27:44 +01:00
|
|
|
typedef void (^VersionMigrationCompletion)(void);
|
|
|
|
|
2014-07-30 08:05:36 +02:00
|
|
|
@interface VersionMigrations : NSObject
|
|
|
|
|
2018-01-30 17:27:44 +01:00
|
|
|
+ (void)performUpdateCheckWithCompletion:(VersionMigrationCompletion)completion;
|
2015-03-12 00:46:31 +01:00
|
|
|
|
2017-06-15 19:43:18 +02:00
|
|
|
+ (BOOL)isVersion:(NSString *)thisVersionString
|
|
|
|
atLeast:(NSString *)openLowerBoundVersionString
|
|
|
|
andLessThan:(NSString *)closedUpperBoundVersionString;
|
|
|
|
|
2017-06-20 22:53:02 +02:00
|
|
|
+ (BOOL)isVersion:(NSString *)thisVersionString atLeast:(NSString *)thatVersionString;
|
|
|
|
|
2017-07-06 21:10:47 +02:00
|
|
|
+ (BOOL)isVersion:(NSString *)thisVersionString lessThan:(NSString *)thatVersionString;
|
|
|
|
|
2014-07-30 08:05:36 +02:00
|
|
|
@end
|
2018-01-30 17:27:44 +01:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|