|
Revision 5, 1.6 kB
(checked in by stephen_booth, 3 years ago)
|
|
Added file watching support
|
| Line | |
|---|
| 1 | /* ============================================================================= |
|---|
| 2 | FILE: UKKQueue.m |
|---|
| 3 | PROJECT: Filie |
|---|
| 4 | |
|---|
| 5 | COPYRIGHT: (c) 2005-06 M. Uli Kusterer, all rights reserved. |
|---|
| 6 | |
|---|
| 7 | AUTHORS: M. Uli Kusterer - UK |
|---|
| 8 | |
|---|
| 9 | LICENSES: MIT License |
|---|
| 10 | |
|---|
| 11 | REVISIONS: |
|---|
| 12 | 2006-03-13 UK Created, moved notification constants here as exportable |
|---|
| 13 | symbols. |
|---|
| 14 | ========================================================================== */ |
|---|
| 15 | |
|---|
| 16 | // ----------------------------------------------------------------------------- |
|---|
| 17 | // Headers: |
|---|
| 18 | // ----------------------------------------------------------------------------- |
|---|
| 19 | |
|---|
| 20 | #import <Cocoa/Cocoa.h> |
|---|
| 21 | #import "UKFileWatcher.h" |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | // ----------------------------------------------------------------------------- |
|---|
| 25 | // Constants: |
|---|
| 26 | // ----------------------------------------------------------------------------- |
|---|
| 27 | |
|---|
| 28 | // Do not rely on the actual contents of these constants. They will eventually |
|---|
| 29 | // be changed to be more generic and less KQueue-specific. |
|---|
| 30 | |
|---|
| 31 | NSString* UKFileWatcherRenameNotification = @"UKKQueueFileRenamedNotification"; |
|---|
| 32 | NSString* UKFileWatcherWriteNotification = @"UKKQueueFileWrittenToNotification"; |
|---|
| 33 | NSString* UKFileWatcherDeleteNotification = @"UKKQueueFileDeletedNotification"; |
|---|
| 34 | NSString* UKFileWatcherAttributeChangeNotification = @"UKKQueueFileAttributesChangedNotification"; |
|---|
| 35 | NSString* UKFileWatcherSizeIncreaseNotification = @"UKKQueueFileSizeIncreasedNotification"; |
|---|
| 36 | NSString* UKFileWatcherLinkCountChangeNotification = @"UKKQueueFileLinkCountChangedNotification"; |
|---|
| 37 | NSString* UKFileWatcherAccessRevocationNotification = @"UKKQueueFileAccessRevocationNotification"; |
|---|
| 38 | |
|---|