mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-09-01 10:28:57 +00:00
27 lines
572 B
Objective-C
27 lines
572 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "ResKnifePluginProtocol.h"
|
|
#import "ResKnifeResourceProtocol.h"
|
|
|
|
@interface TemplateWindowController : NSWindowController <ResKnifePluginProtocol>
|
|
{
|
|
IBOutlet NSMatrix *fieldsMatrix;
|
|
|
|
NSMutableArray *tmpl;
|
|
NSMutableArray *res;
|
|
id <ResKnifeResourceProtocol> resource;
|
|
}
|
|
|
|
// normal methods
|
|
- (void)readTemplate:(id <ResKnifeResourceProtocol>)tmpl;
|
|
- (void)parseData;
|
|
- (void)createUI;
|
|
- (void)resourceDataDidChange:(NSNotification *)notification;
|
|
- (void)refreshData:(NSData *)data;
|
|
|
|
// accessors
|
|
- (id)resource;
|
|
- (NSData *)data;
|
|
|
|
@end
|