An Objective-C wrapper for Mac OS X’s FSEvents C API.
Revisión | d5a9239124ef1f88fc056dedfffdd3be321d8bcb (tree) |
---|---|
Tiempo | 2010-04-04 03:02:59 |
Autor | Aron Cedercrantz <aron@cede...> |
Commiter | Aron Cedercrantz |
Fixed the copyWithZone: method to reflect the current ivars.
@@ -145,10 +145,10 @@ ignoreEventsFromSubDirs:(BOOL)ignoreEventsFromSubDirs | ||
145 | 145 | CDEvents *copy = [[CDEvents alloc] init]; |
146 | 146 | |
147 | 147 | copy->_delegate = _delegate; |
148 | - copy->_notificationLatency = _notificationLatency; | |
149 | - copy->_ignoreEventsFromSubDirectories = _ignoreEventsFromSubDirectories; | |
148 | + copy->_notificationLatency = [self notificationLatency]; | |
149 | + copy->_ignoreEventsFromSubDirectories = [self ignoreEventsFromSubDirectories]; | |
150 | 150 | copy->_lastEvent = [[self lastEvent] retain]; |
151 | - copy->_isWatchingURLs = NO; | |
151 | + copy->_sinceEventIdentifier = _sinceEventIdentifier; | |
152 | 152 | copy->_watchedURLs = [[self watchedURLs] copyWithZone:zone]; |
153 | 153 | copy->_excludedURLs = [[self excludedURLs] copyWithZone:zone]; |
154 | 154 |
@@ -156,7 +156,6 @@ ignoreEventsFromSubDirs:(BOOL)ignoreEventsFromSubDirs | ||
156 | 156 | } |
157 | 157 | |
158 | 158 | |
159 | - | |
160 | 159 | #pragma mark Misc methods |
161 | 160 | |
162 | 161 |