-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSWKQueue.h
More file actions
35 lines (25 loc) · 827 Bytes
/
SWKQueue.h
File metadata and controls
35 lines (25 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// SWKQueue.h
// This file is part of the "SWApplicationSupport" project, and is distributed under the MIT License.
//
// Created by Samuel Williams on 18/02/06.
// Copyright 2006 Samuel Williams. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#include <sys/types.h>
#include <sys/event.h>
#import "SWPathReference.h"
#define SWKQueueDefaultNotifications (NOTE_WRITE | NOTE_RENAME | NOTE_DELETE | NOTE_ATTRIB | NOTE_REVOKE | NOTE_EXTEND | NOTE_LINK)
@interface SWKQueue : NSObject {
int queueDesc;
NSMutableDictionary *paths;
BOOL running;
id delegate;
}
- init;
- (void) addPaths: (NSArray*)paths notifyingAbout: (unsigned int)flags;
- (void) addPath: (NSString*)path notifyingAbout: (unsigned int)flags;
- (void) removePath: (NSString*)path;
- (id) delegate;
- (void) setDelegate: (id)newDelegate;
@end