X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJMappingsController.h;h=83ed8ef5d8b61aa54f7d906e7545ec0f2161c4c3;hp=85ba54ff873e1b14b13eed9d0ff2fdf2bd86b7b1;hb=4a8e67a7294e8e527e2be9d8f5f39aae60691697;hpb=30f40c368cf11684956e992cb13a8f70b5c5e0ce diff --git a/Classes/NJMappingsController.h b/Classes/NJMappingsController.h index 85ba54f..83ed8ef 100644 --- a/Classes/NJMappingsController.h +++ b/Classes/NJMappingsController.h @@ -9,16 +9,11 @@ @class NJMapping; @class NJOutputController; -#import "NJMappingsViewController.h" - -@interface NJMappingsController : NSObject +@interface NJMappingsController : NSObject @property (nonatomic, readonly) NJMapping *currentMapping; @property (nonatomic, readonly) NSUInteger count; -@property (nonatomic, strong) IBOutlet NJMappingsViewController *mvc; - - (NJMapping *)objectForKeyedSubscript:(NSString *)name; - (NJMapping *)objectAtIndexedSubscript:(NSUInteger)idx; - (NSInteger)indexOfMapping:(NJMapping *)mapping; @@ -28,12 +23,10 @@ - (void)removeMappingAtIndex:(NSInteger)idx; - (void)mergeMapping:(NJMapping *)mapping intoMapping:(NJMapping *)existing; - (void)moveMoveMappingFromIndex:(NSInteger)fromIdx toIndex:(NSInteger)toIdx; +- (void)renameMapping:(NJMapping *)mapping to:(NSString *)name; - (void)mappingsChanged; -- (void)promptForMapping:(NJMapping *)mapping atIndex:(NSInteger)idx; - // FIXME: Doesn't belong here. - - (void)activateMapping:(NJMapping *)mapping; - (void)activateMappingForProcess:(NSRunningApplication *)app; - (void)save;