Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions VDKQueue.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#pragma mark -
#pragma mark VDKQueuePathEntry
#pragma mark -
#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */

// This is a simple model class used to hold info about each path we watch.
@interface VDKQueuePathEntry : NSObject
Expand All @@ -51,7 +49,7 @@ @implementation VDKQueuePathEntry
@synthesize path = _path, watchedFD = _watchedFD, subscriptionFlags = _subscriptionFlags;


- (id) initWithPath:(NSString*)inPath andSubscriptionFlags:(u_int)flags;
- (id) initWithPath:(NSString*)inPath andSubscriptionFlags:(u_int)flags
{
self = [super init];
if (self)
Expand Down Expand Up @@ -94,8 +92,6 @@ -(void) dealloc
#pragma mark -
#pragma mark VDKQueue
#pragma mark -
#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
#pragma ------------------------------------------------------------------------------------------------------------------------------------------------------------ */

@interface VDKQueue ()
- (void) watcherThread:(id)sender;
Expand Down Expand Up @@ -201,7 +197,7 @@ - (VDKQueuePathEntry *) addPathToQueue:(NSString *)path notifyingAbout:(u_int)fl
}


- (void) watcherThread:(id)sender;
- (void) watcherThread:(id)sender
{
int n;
struct kevent ev;
Expand Down