mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-08-30 13:28:58 +00:00
29 lines
675 B
Objective-C
29 lines
675 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "ResKnifePluginProtocol.h"
|
|
#import "ResKnifeResourceProtocol.h"
|
|
|
|
@interface TemplateWindowController : NSWindowController <ResKnifePluginProtocol, ResKnifeTemplatePluginProtocol>
|
|
{
|
|
IBOutlet NSView *containerView;
|
|
|
|
NSMutableArray *tmpl;
|
|
NSMutableArray *res;
|
|
id <ResKnifeResourceProtocol> resource;
|
|
}
|
|
|
|
// normal methods
|
|
- (void)readTemplate:(id <ResKnifeResourceProtocol>)tmpl;
|
|
- (void)readData;
|
|
- (void)parseData;
|
|
- (void)createUI;
|
|
- (void)enumerateElements:(NSMutableArray *)elements;
|
|
- (void)resourceDataDidChange:(NSNotification *)notification;
|
|
- (void)refreshData:(NSData *)data;
|
|
|
|
// accessors
|
|
- (id)resource;
|
|
- (NSData *)data;
|
|
|
|
@end
|