Generalize and share mapping menu (main, status, dock) behavior.
[enjoyable.git] / Classes / NJMappingsController.h
index b252904..dcb44b0 100644 (file)
@@ -17,7 +17,6 @@
 {
     IBOutlet NSButton *removeButton;
     IBOutlet NSTableView *tableView;
-    IBOutlet NJOutputController *outputController;
     IBOutlet NSButton *popoverActivate;
     IBOutlet NSPopover *popover;
     IBOutlet NSButton *moveUp;
@@ -31,7 +30,7 @@
 - (NJMapping *)objectAtIndexedSubscript:(NSUInteger)idx;
 - (void)addMappingWithContentsOfURL:(NSURL *)url;
 - (void)activateMapping:(NJMapping *)mapping;
-- (void)activateMappingForProcess:(NSString *)processName;
+- (void)activateMappingForProcess:(NSRunningApplication *)app;
 - (void)save;
 - (void)load;