summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLAddCommand.h
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-10-20 16:38:08 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2016-10-20 16:38:08 -0700
commit296577bb331f233f06875e94375b8a467c1cad34 (patch)
tree0e7f606fd1f9d3ca7350f672c8737d938fce205f /SmartDeviceLink/SDLAddCommand.h
parent74b57f425724aa07f5b09ef7003d1d4cac21065a (diff)
downloadsdl_ios-296577bb331f233f06875e94375b8a467c1cad34.tar.gz
Removed NSNumbers in favor of their primitive types for initializers.
Diffstat (limited to 'SmartDeviceLink/SDLAddCommand.h')
-rw-r--r--SmartDeviceLink/SDLAddCommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLAddCommand.h b/SmartDeviceLink/SDLAddCommand.h
index 0b45380eb..ceea5942a 100644
--- a/SmartDeviceLink/SDLAddCommand.h
+++ b/SmartDeviceLink/SDLAddCommand.h
@@ -57,11 +57,11 @@
*/
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;
-- (instancetype)initWithId:(NSNumber *)commandId vrCommands:(NSArray *)vrCommands handler:(SDLRPCNotificationHandler)handler;
+- (instancetype)initWithId:(UInt32)commandId vrCommands:(NSArray *)vrCommands handler:(SDLRPCNotificationHandler)handler;
-- (instancetype)initWithId:(NSNumber *)commandId menuName:(NSString *)menuName vrCommands:(NSArray *)vrCommands handler:(SDLRPCNotificationHandler)handler;
+- (instancetype)initWithId:(UInt32)commandId vrCommands:(NSArray *)vrCommands menuName:(NSString *)menuName handler:(SDLRPCNotificationHandler)handler;
-- (instancetype)initWithId:(NSNumber *)commandId menuName:(NSString *)menuName parentId:(NSNumber *)parentId position:(NSNumber *)position vrCommands:(NSArray *)vrCommands iconValue:(NSString *)iconValue iconType:(SDLImageType *)iconType handler:(SDLRPCNotificationHandler)handler;
+- (instancetype)initWithId:(UInt32)commandId vrCommands:(NSArray *)vrCommands menuName:(NSString *)menuName parentId:(UInt32)parentId position:(UInt16)position iconValue:(NSString *)iconValue iconType:(SDLImageType *)iconType handler:(SDLRPCNotificationHandler)handler;
/**
* A handler that will let you know when the button you created is subscribed.