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
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			26 lines
		
	
	
		
			706 B
		
	
	
	
		
			Objective-C
		
	
//
 | 
						|
//  Copyright (c) 2018 Open Whisper Systems. All rights reserved.
 | 
						|
//
 | 
						|
 | 
						|
NS_ASSUME_NONNULL_BEGIN
 | 
						|
 | 
						|
#define RECENT_CALLS_DEFAULT_KEY @"RPRecentCallsDefaultKey"
 | 
						|
 | 
						|
typedef void (^VersionMigrationCompletion)(void);
 | 
						|
 | 
						|
@interface VersionMigrations : NSObject
 | 
						|
 | 
						|
+ (void)performUpdateCheckWithCompletion:(VersionMigrationCompletion)completion;
 | 
						|
 | 
						|
+ (BOOL)isVersion:(NSString *)thisVersionString
 | 
						|
          atLeast:(NSString *)openLowerBoundVersionString
 | 
						|
      andLessThan:(NSString *)closedUpperBoundVersionString;
 | 
						|
 | 
						|
+ (BOOL)isVersion:(NSString *)thisVersionString atLeast:(NSString *)thatVersionString;
 | 
						|
 | 
						|
+ (BOOL)isVersion:(NSString *)thisVersionString lessThan:(NSString *)thatVersionString;
 | 
						|
 | 
						|
@end
 | 
						|
 | 
						|
NS_ASSUME_NONNULL_END
 |