diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2014-06-07 09:49:23 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2014-06-07 09:49:23 +1000 |
commit | 6d57d561e40c5f5dba9554daa7ce85793891539a (patch) | |
tree | 4e136e906ff439d55a35a73fb7876442624302de | |
parent | 546b89b1c20dc25d8013f92c7a2053e940483fec (diff) | |
download | scintilla-mirror-6d57d561e40c5f5dba9554daa7ce85793891539a.tar.gz |
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.
-rw-r--r-- | cocoa/InfoBarCommunicator.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |