root / trunk / UKFileWatcher.m

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
31NSString* UKFileWatcherRenameNotification                               = @"UKKQueueFileRenamedNotification";
32NSString* UKFileWatcherWriteNotification                                = @"UKKQueueFileWrittenToNotification";
33NSString* UKFileWatcherDeleteNotification                               = @"UKKQueueFileDeletedNotification";
34NSString* UKFileWatcherAttributeChangeNotification              = @"UKKQueueFileAttributesChangedNotification";
35NSString* UKFileWatcherSizeIncreaseNotification                 = @"UKKQueueFileSizeIncreasedNotification";
36NSString* UKFileWatcherLinkCountChangeNotification              = @"UKKQueueFileLinkCountChangedNotification";
37NSString* UKFileWatcherAccessRevocationNotification             = @"UKKQueueFileAccessRevocationNotification";
38
Note: See TracBrowser for help on using the browser.