An Objective-C wrapper for Mac OS X’s FSEvents C API.
リビジョン | 847bac216ad91cd45fa6bc0d815690e752f4dcd5 (tree) |
---|---|
日時 | 2011-02-14 11:58:26 |
作者 | Aron Cedercrantz <aron@cede...> |
コミッター | Aron Cedercrantz |
Changed the lastEvent property of the CDEvents class to readonly in public and readwrite in private.
@@ -163,7 +163,7 @@ extern const CDEventIdentifier kCDEventsSinceEventNow; | ||
163 | 163 | * |
164 | 164 | * @since 1.0.0 |
165 | 165 | */ |
166 | -@property (retain) CDEvent *lastEvent; | |
166 | +@property (retain, readonly) CDEvent *lastEvent; | |
167 | 167 | |
168 | 168 | /** |
169 | 169 | * The URLs that we watch for events. |
@@ -27,6 +27,8 @@ const CDEventIdentifier kCDEventsSinceEventNow = kFSEventStreamEventIdSinceNow; | ||
27 | 27 | // Private API |
28 | 28 | @interface CDEvents () |
29 | 29 | |
30 | +@property (retain, readwrite) CDEvent *lastEvent; | |
31 | + | |
30 | 32 | // The FSEvents callback function |
31 | 33 | static void CDEventsCallback( |
32 | 34 | ConstFSEventStreamRef streamRef, |