Support opening/adding a mapping file directly to import it.
[enjoyable.git] / NJMappingsController.h
index 2f7ede0..b252904 100644 (file)
@@ -29,6 +29,7 @@
 
 - (NJMapping *)objectForKeyedSubscript:(NSString *)name;
 - (NJMapping *)objectAtIndexedSubscript:(NSUInteger)idx;
+- (void)addMappingWithContentsOfURL:(NSURL *)url;
 - (void)activateMapping:(NJMapping *)mapping;
 - (void)activateMappingForProcess:(NSString *)processName;
 - (void)save;