2002-02-02 11:48:54 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2002-02-14 23:24:53 +00:00
|
|
|
#import "ResKnifeResourceProtocol.h"
|
|
|
|
|
2008-07-31 20:27:55 +00:00
|
|
|
@class HexWindowController, HexTextView, AsciiTextView;
|
2002-02-14 23:24:53 +00:00
|
|
|
|
2002-02-02 11:48:54 +00:00
|
|
|
@interface HexEditorDelegate : NSObject
|
|
|
|
{
|
2008-07-31 20:27:55 +00:00
|
|
|
IBOutlet HexWindowController *controller;
|
2002-02-02 11:48:54 +00:00
|
|
|
IBOutlet NSTextView *offset;
|
2008-07-31 20:27:55 +00:00
|
|
|
IBOutlet HexTextView *hex;
|
|
|
|
IBOutlet AsciiTextView *ascii;
|
|
|
|
IBOutlet NSTextField *message;
|
2002-04-30 23:44:23 +00:00
|
|
|
|
2008-07-31 20:27:55 +00:00
|
|
|
BOOL editedLow;
|
|
|
|
NSRange rangeForUserTextChange;
|
2002-02-02 11:48:54 +00:00
|
|
|
}
|
|
|
|
|
2008-07-31 20:27:55 +00:00
|
|
|
/* REMOVE THESE WHEN I.B. IS FIXED */
|
|
|
|
- (void)setHex:(id)newView;
|
|
|
|
- (void)setAscii:(id)newView;
|
|
|
|
/* END REMOVE MARKER */
|
2002-02-02 11:48:54 +00:00
|
|
|
|
2008-07-31 20:27:55 +00:00
|
|
|
- (void)viewDidScroll:(NSNotification *)notification;
|
|
|
|
- (NSString *)offsetRepresentation:(NSData *)data;
|
2002-02-06 20:57:56 +00:00
|
|
|
|
2008-07-31 20:27:55 +00:00
|
|
|
- (HexWindowController *)controller;
|
2002-02-02 11:48:54 +00:00
|
|
|
- (NSTextView *)hex;
|
|
|
|
- (NSTextView *)ascii;
|
|
|
|
|
2002-04-30 23:44:23 +00:00
|
|
|
- (BOOL)editedLow;
|
|
|
|
- (void)setEditedLow:(BOOL)flag;
|
2008-07-31 20:27:55 +00:00
|
|
|
- (NSRange)rangeForUserTextChange;
|
2002-04-30 23:44:23 +00:00
|
|
|
|
2002-02-02 11:48:54 +00:00
|
|
|
@end
|