mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-11-18 19:07:16 +00:00
28 lines
657 B
Objective-C
28 lines
657 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)parseData;
|
|
- (void)createUI;
|
|
- (void)enumerateElements:(NSMutableArray *)elements;
|
|
- (void)resourceDataDidChange:(NSNotification *)notification;
|
|
- (void)refreshData:(NSData *)data;
|
|
|
|
// accessors
|
|
- (id)resource;
|
|
- (NSData *)data;
|
|
|
|
@end
|