forked from wafflesoftware/thisservice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TSServiceAppFilterWindowController.h
40 lines (33 loc) · 1.37 KB
/
TSServiceAppFilterWindowController.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
//
// TSServiceAppFilterWindowController.h
// ThisService
//
// Created by Jesper on 2012-07-01.
// Copyright 2012 waffle software. All rights reserved.
// BSD licensed - see license.txt for more information.
//
#import <Cocoa/Cocoa.h>
@class TSServiceAppFilterWindowController;
@class TSServiceAppFilter;
@protocol TSServiceAppFilterWindowControllerDelegate
- (void)serviceAppFilterWindowController:(TSServiceAppFilterWindowController *)windowController savedChanges:(TSServiceAppFilter *)newRules;
- (void)serviceAppFilterWindowControllerCancelled:(TSServiceAppFilterWindowController *)windowController;
@end
@interface TSServiceAppFilterWindowController : NSWindowController <NSTableViewDataSource, NSTableViewDelegate> {
NSMutableArray *apps;
NSSet *appIDsInUse;
NSTableView *tableView;
TSServiceAppFilter *initialAppFilter;
id<TSServiceAppFilterWindowControllerDelegate> editor;
NSPopUpButton *applicationDropDown;
NSButton *okButton;
}
@property (assign) IBOutlet NSPopUpButton *applicationDropDown;
@property (assign) IBOutlet NSButton *okButton;
- (void)setEditor:(id<TSServiceAppFilterWindowControllerDelegate>)newEditor;
- (void)setInitialAppFilter:(TSServiceAppFilter *)initialAppFilter;
@property (assign) IBOutlet NSTableView *tableView;
- (IBAction)done:(id)sender;
- (IBAction)cancel:(id)sender;
- (IBAction)deleteSelectedRowsByButton:(id)sender;
@end