summaryrefslogtreecommitdiff
path: root/Example Apps/Example ObjC/ButtonManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Example Apps/Example ObjC/ButtonManager.h')
-rw-r--r--Example Apps/Example ObjC/ButtonManager.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/Example Apps/Example ObjC/ButtonManager.h b/Example Apps/Example ObjC/ButtonManager.h
new file mode 100644
index 000000000..867f50c7c
--- /dev/null
+++ b/Example Apps/Example ObjC/ButtonManager.h
@@ -0,0 +1,31 @@
+//
+// ButtonManager.h
+// SmartDeviceLink
+//
+// Created by Nicole on 5/11/18.
+// Copyright © 2018 smartdevicelink. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@class SDLManager;
+@class SDLSoftButtonObject;
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef void(^RefreshUIHandler)(void);
+
+@interface ButtonManager : NSObject
+
+@property (assign, nonatomic, getter=isTextEnabled, readonly) BOOL textEnabled;
+@property (assign, nonatomic, getter=isHexagonEnabled, readonly) BOOL toggleEnabled;
+@property (assign, nonatomic, getter=areImagesEnabled, readonly) BOOL imagesEnabled;
+
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithManager:(SDLManager *)manager refreshUIHandler:(RefreshUIHandler)refreshUIHandler;
+
+- (NSArray<SDLSoftButtonObject *> *)allScreenSoftButtons;
+
+@end
+
+NS_ASSUME_NONNULL_END