summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLGlobals.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLGlobals.h')
-rw-r--r--SmartDeviceLink/SDLGlobals.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLGlobals.h b/SmartDeviceLink/SDLGlobals.h
index fced9d4e9..367915d0c 100644
--- a/SmartDeviceLink/SDLGlobals.h
+++ b/SmartDeviceLink/SDLGlobals.h
@@ -8,6 +8,8 @@
#import <Foundation/Foundation.h>
+NS_ASSUME_NONNULL_BEGIN
+
#define SDL_SYSTEM_VERSION_LESS_THAN(version) ([[[UIDevice currentDevice] systemVersion] compare:version options:NSNumericSearch] == NSOrderedAscending)
#define BLOCK_RETURN return
@@ -17,6 +19,8 @@
@property (assign, nonatomic, readonly) NSUInteger maxMTUSize;
@property (assign, nonatomic) NSUInteger maxHeadUnitVersion;
-+ (instancetype)globals;
++ (instancetype)sharedGlobals;
@end
+
+NS_ASSUME_NONNULL_END