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 | ee64a91994f39efc798ccd768c569264d7098d1b (patch) | |
tree | a6e478f655cd2280127e0669e43b2c33c03885d7 /cocoa/InfoBarCommunicator.h | |
parent | 13bb5b9bb66b54cde9e35b79bd0b9b35bdc82c47 (diff) | |
download | scintilla-mirror-ee64a91994f39efc798ccd768c569264d7098d1b.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.
Diffstat (limited to 'cocoa/InfoBarCommunicator.h')
-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. |