ResKnife/Cocoa/Plug-Ins/Hex Editor/HexWindowController.h

32 lines
772 B
C
Raw Normal View History

2002-02-11 01:22:17 +00:00
#import <Cocoa/Cocoa.h>
2002-02-02 11:48:54 +00:00
#import "HexEditorDelegate.h"
2002-02-11 01:22:17 +00:00
#import "HexTextView.h"
2002-02-02 11:48:54 +00:00
#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;
2002-02-02 11:48:54 +00:00
id resource;
}
// conform to the ResKnifePluginProtocol with the inclusion of these methods
- (id)initWithResource:(id)newResource;
// normal methods
- (void)viewDidScroll:(NSNotification *)notification;
- (void)resourceDataDidChange:(NSNotification *)notification;
- (void)refreshData:(NSData *)data;
// accessors
- (id)resource;
- (NSData *)data;
2002-02-02 11:48:54 +00:00
@end