summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLObjectWithPriority.h
blob: 848773f056b9640e2b8b50efed9d91098d694d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
//  SDLObjectWithPriority.h
//  SmartDeviceLink
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SDLObjectWithPriority : NSObject

@property (nullable, strong, nonatomic) id object;
@property (assign, nonatomic) NSInteger priority;

- (instancetype)initWithObject:(nullable id)object priority:(NSInteger)priority NS_DESIGNATED_INITIALIZER;

+ (instancetype)objectWithObject:(nullable id)object priority:(NSInteger)priority;

@end

NS_ASSUME_NONNULL_END