An Objective-C wrapper for Mac OS X’s FSEvents C API.
Revision | f812a2a33680bb50cafd0a6883d8613b7a4c3b66 (tree) |
---|---|
Time | 2014-03-01 23:43:33 |
Author | Aron Cedercrantz <aron@cede...> |
Commiter | Aron Cedercrantz |
Merge tag '1.2.2'
@@ -83,7 +83,7 @@ | ||
83 | 83 | self = [self initWithIdentifier:[[aDecoder decodeObjectForKey:@"identifier"] unsignedIntegerValue] |
84 | 84 | date:[aDecoder decodeObjectForKey:@"date"] |
85 | 85 | URL:[aDecoder decodeObjectForKey:@"URL"] |
86 | - flags:[[aDecoder decodeObjectForKey:@"flags"] unsignedIntegerValue]]; | |
86 | + flags:[[aDecoder decodeObjectForKey:@"flags"] unsignedIntValue]]; | |
87 | 87 | |
88 | 88 | return self; |
89 | 89 | } |
@@ -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. |
@@ -313,7 +313,7 @@ streamCreationFlags:(CDEventsEventStreamCreationFlags)streamCreationFlags | ||
313 | 313 | (__bridge CFArrayRef)watchedPaths, |
314 | 314 | (FSEventStreamEventId)[self sinceEventIdentifier], |
315 | 315 | [self notificationLatency], |
316 | - _eventStreamCreationFlags); | |
316 | + (uint) _eventStreamCreationFlags); | |
317 | 317 | } |
318 | 318 | |
319 | 319 | - (void)disposeEventStream |
@@ -17,11 +17,11 @@ | ||
17 | 17 | <key>CFBundlePackageType</key> |
18 | 18 | <string>FMWK</string> |
19 | 19 | <key>CFBundleShortVersionString</key> |
20 | - <string>1.2.1</string> | |
20 | + <string>1.2.2</string> | |
21 | 21 | <key>CFBundleSignature</key> |
22 | 22 | <string>????</string> |
23 | 23 | <key>CFBundleVersion</key> |
24 | - <string>1.2.1</string> | |
24 | + <string>1.2.2</string> | |
25 | 25 | <key>NSPrincipalClass</key> |
26 | 26 | <string></string> |
27 | 27 | </dict> |