mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-07-27 17:29:33 +00:00
30 lines
696 B
Objective-C
30 lines
696 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
#import "HexEditorDelegate.h"
|
|
#import "HexTextView.h"
|
|
|
|
#import "ResKnifePluginProtocol.h"
|
|
#import "ResKnifeResourceProtocol.h"
|
|
|
|
@interface HexWindowController : NSWindowController <ResKnifePluginProtocol>
|
|
{
|
|
IBOutlet HexEditorDelegate *hexDelegate;
|
|
IBOutlet NSTextView *ascii;
|
|
IBOutlet NSTextView *hex;
|
|
IBOutlet NSTextView *offset;
|
|
IBOutlet NSTextField *message;
|
|
|
|
id resource;
|
|
}
|
|
|
|
- (void)resourceDidChange:(NSNotification *)notification;
|
|
- (void)refreshData:(NSData *)data;
|
|
|
|
// conform to the ResKnifePluginProtocol with the inclusion of these methods
|
|
- (id)initWithResource:(id)newResource;
|
|
|
|
// accessors
|
|
- (id)resource;
|
|
- (NSData *)data;
|
|
|
|
@end
|