X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJMappingsController.h;h=9dd1e157da0005c66fa5ac7498438e7fe49ba0d2;hp=85ba54ff873e1b14b13eed9d0ff2fdf2bd86b7b1;hb=e7c0b2d96e9e3209b5ba80cc1fdc8e7213cb5302;hpb=30f40c368cf11684956e992cb13a8f70b5c5e0ce diff --git a/Classes/NJMappingsController.h b/Classes/NJMappingsController.h index 85ba54f..9dd1e15 100644 --- a/Classes/NJMappingsController.h +++ b/Classes/NJMappingsController.h @@ -7,18 +7,12 @@ // @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,14 +22,11 @@ - (void)removeMappingAtIndex:(NSInteger)idx; - (void)mergeMapping:(NJMapping *)mapping intoMapping:(NJMapping *)existing; - (void)moveMoveMappingFromIndex:(NSInteger)fromIdx toIndex:(NSInteger)toIdx; - -- (void)mappingsChanged; - -- (void)promptForMapping:(NJMapping *)mapping atIndex:(NSInteger)idx; - // FIXME: Doesn't belong here. +- (void)renameMapping:(NJMapping *)mapping to:(NSString *)name; - (void)activateMapping:(NJMapping *)mapping; - (void)activateMappingForProcess:(NSRunningApplication *)app; + - (void)save; - (void)load;