5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
10 @
class TargetController
;
12 @interface ConfigsController
: NSObject
<NSTableViewDataSource
, NSTableViewDelegate
, NSOpenSavePanelDelegate
> {
13 IBOutlet NSButton
*removeButton
;
14 IBOutlet NSTableView
*tableView
;
15 IBOutlet TargetController
*targetController
;
16 IBOutlet NSButton
*exportButton
;
19 @
property (readonly
) Config
*currentConfig
;
20 @
property (readonly
) NSArray
*configs
;
22 - (IBAction
)addPressed
:(id
)sender
;
23 - (IBAction
)removePressed
:(id
)sender
;
24 - (IBAction
)exportPressed
:(id
)sender
;
25 - (void)activateConfig
:(Config
*)config
;
26 - (void)activateConfigForProcess
:(NSString
*)processName
;