An Objective-C wrapper for Mac OS X’s FSEvents C API.
Révision | 91e766217e6d9f74bf33dca0fc131fcf310b3000 (tree) |
---|---|
l'heure | 2014-02-21 07:17:27 |
Auteur | Krzysztof Adamski <public@kada...> |
Commiter | Krzysztof Adamski |
Pass CDEventsEventStreamCreationFlags to CDEvents Init Method
@@ -60,10 +60,10 @@ const CDEventIdentifier kCDEventsSinceEventNow = kFSEventStreamEventIdSinceNow; | ||
60 | 60 | // Private API |
61 | 61 | @interface CDEvents () { |
62 | 62 | @private |
63 | - CDEventsEventBlock _eventBlock; | |
63 | + CDEventsEventBlock _eventBlock; | |
64 | 64 | |
65 | - FSEventStreamRef _eventStream; | |
66 | - NSUInteger _eventStreamCreationFlags; | |
65 | + FSEventStreamRef _eventStream; | |
66 | + CDEventsEventStreamCreationFlags _eventStreamCreationFlags; | |
67 | 67 | } |
68 | 68 | |
69 | 69 | // Redefine the properties that should be writeable. |
@@ -249,7 +249,7 @@ streamCreationFlags:(CDEventsEventStreamCreationFlags)streamCreationFlags | ||
249 | 249 | notificationLantency:[self notificationLatency] |
250 | 250 | ignoreEventsFromSubDirs:[self ignoreEventsFromSubDirectories] |
251 | 251 | excludeURLs:[self excludedURLs] |
252 | - streamCreationFlags:(uint) _eventStreamCreationFlags]; | |
252 | + streamCreationFlags:_eventStreamCreationFlags]; | |
253 | 253 | |
254 | 254 | return copy; |
255 | 255 | } |