-
Notifications
You must be signed in to change notification settings - Fork 32
/
ItemEnumerator.h
executable file
·43 lines (29 loc) · 863 Bytes
/
ItemEnumerator.h
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
36
37
38
39
40
41
42
43
//
// ItemEnumerator.h
// KnockKnock
//
// Created by Patrick Wardle on 4/24/15.
// Copyright (c) 2015 Objective-See. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ItemEnumerator : NSObject
{
}
/* iVars */
//'main' enumerator thread
@property(nonatomic, retain)NSThread* enumeratorThread;
//launch daemons and agents
@property(nonatomic, retain)NSMutableArray* launchItems;
//installed apps
@property(nonatomic, retain)NSMutableArray* applications;
//launch item enumerator thread
@property(nonatomic, retain)NSThread* launchItemsEnumerator;
//installed applications enumerator thread
@property(nonatomic, retain)NSThread* applicationsEnumerator;
/* METHODS */
//enumerate all 'shared' items
// ->that is to say, items that multiple plugins scan/process
-(void)start;
//cancel all enumerator threads
-(void)stop;
@end