aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/InfoBarCommunicator.h
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2014-06-07 09:49:23 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2014-06-07 09:49:23 +1000
commit6d57d561e40c5f5dba9554daa7ce85793891539a (patch)
tree4e136e906ff439d55a35a73fb7876442624302de /cocoa/InfoBarCommunicator.h
parent546b89b1c20dc25d8013f92c7a2053e940483fec (diff)
downloadscintilla-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.
Diffstat (limited to 'cocoa/InfoBarCommunicator.h')
-rw-r--r--cocoa/InfoBarCommunicator.h2
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.