summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLMapboxEventsDelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLMapboxEventsDelegate.h')
-rw-r--r--platform/darwin/src/MGLMapboxEventsDelegate.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLMapboxEventsDelegate.h b/platform/darwin/src/MGLMapboxEventsDelegate.h
new file mode 100644
index 0000000000..3f76522552
--- /dev/null
+++ b/platform/darwin/src/MGLMapboxEventsDelegate.h
@@ -0,0 +1,12 @@
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@protocol MGLMapboxEventsDelegate <NSObject>
+
+- (BOOL)shouldReceiveEvents;
+- (void)didReceiveEvent:(NSString *)eventName withAttributes:(NSDictionary *)attributes;
+
+@end
+
+NS_ASSUME_NONNULL_END