diff options
Diffstat (limited to 'SmartDeviceLink/SDLMenuManager.h')
-rw-r--r-- | SmartDeviceLink/SDLMenuManager.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLMenuManager.h b/SmartDeviceLink/SDLMenuManager.h new file mode 100644 index 000000000..1163c0b44 --- /dev/null +++ b/SmartDeviceLink/SDLMenuManager.h @@ -0,0 +1,26 @@ +// +// SDLMenuManager.h +// SmartDeviceLink +// +// Created by Joel Fischer on 4/9/18. +// Copyright © 2018 smartdevicelink. All rights reserved. +// + +#import <Foundation/Foundation.h> + +@class SDLMenuCell; +@class SDLVoiceCommand; + +/** + The handler run when the update has completed + + @param error An error if the update failed and an error occurred + */ +typedef void(^SDLMenuUpdateCompletionHandler)(NSError *__nullable error); + +@interface SDLMenuManager : NSObject + +@property (copy, nonatomic) NSArray<SDLMenuCell *> *menuCells; +@property (copy, nonatomic) NSArray<SDLVoiceCommand *> *voiceCommands; + +@end |