#import #import "ResKnifePluginProtocol.h" #import "ResKnifeResourceProtocol.h" @interface TemplateWindowController : NSWindowController { IBOutlet NSView *containerView; NSMutableArray *tmpl; NSMutableArray *res; id resource; } // normal methods - (void)readTemplate:(id )tmpl; - (void)parseData; - (void)createUI; - (void)enumerateElements:(NSMutableArray *)elements; - (void)resourceDataDidChange:(NSNotification *)notification; - (void)refreshData:(NSData *)data; // accessors - (id)resource; - (NSData *)data; @end