2 // NJMappingsController.h
5 // Created by Sam McCall on 4/05/09.
6 // Copyright 2009 University of Otago. All rights reserved.
10 @
class NJOutputController
;
12 #import "NJMappingsViewController.h"
14 @interface NJMappingsController
: NSObject
<NSFastEnumeration
,
15 NJMappingsViewControllerDelegate
>
17 @
property (nonatomic
, readonly
) NJMapping
*currentMapping
;
18 @
property (nonatomic
, strong
) IBOutlet NJMappingsViewController
*mvc
;
20 - (NJMapping
*)objectForKeyedSubscript
:(NSString
*)name
;
21 - (NJMapping
*)objectAtIndexedSubscript
:(NSUInteger
)idx
;
22 - (void)activateMapping
:(NJMapping
*)mapping
;
23 - (void)activateMappingForProcess
:(NSRunningApplication
*)app
;
24 - (void)addOrMergeMapping
:(NJMapping
*)mapping
;