From 6d57d561e40c5f5dba9554daa7ce85793891539a Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sat, 7 Jun 2014 09:49:23 +1000 Subject: Using the platform's NS_ENUM macro to define exported enumeration as recommended by Apple's "Adopting Modern Objective-C" documentation. Helps tools such as the IDE and Swift interoperation. --- cocoa/InfoBarCommunicator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/InfoBarCommunicator.h b/cocoa/InfoBarCommunicator.h index a6b4c4b96..7dfe13a48 100644 --- a/cocoa/InfoBarCommunicator.h +++ b/cocoa/InfoBarCommunicator.h @@ -21,7 +21,7 @@ enum IBDisplay { * ScintillaView implementation. The protocol is used two-way. */ -enum NotificationType { +typedef NS_ENUM(NSInteger, NotificationType) { IBNZoomChanged, // The user selected another zoom value. IBNCaretChanged, // The caret in the editor changed. IBNStatusChanged, // The application set a new status message. -- cgit v1.2.3