X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=NJMapping.h;h=f997fa8f6e84d8b87bc4929d376b8ed39cca8d77;hp=a4068ffe6fcfbc47aa4bb29e677e5d88c0146fce;hb=dcedf147ddcb6c21768cea94a2f06b93007d2a82;hpb=e2a4d830dd9817f6a515a3b1b6aa152d3bb98c2b diff --git a/NJMapping.h b/NJMapping.h index a4068ff..f997fa8 100644 --- a/NJMapping.h +++ b/NJMapping.h @@ -6,7 +6,7 @@ // Copyright 2009 University of Otago. All rights reserved. // -@class Target; +@class NJOutput; @class NJInput; @interface NJMapping : NSObject @@ -15,8 +15,8 @@ @property (nonatomic, readonly) NSMutableDictionary *entries; - (id)initWithName:(NSString *)name; -- (Target *)objectForKeyedSubscript:(NJInput *)input; -- (void)setObject:(Target *)target forKeyedSubscript:(NJInput *)input; +- (NJOutput *)objectForKeyedSubscript:(NJInput *)input; +- (void)setObject:(NJOutput *)output forKeyedSubscript:(NJInput *)input; - (NSDictionary *)serialize; @end