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

35 lines
786 B
C
Raw Normal View History

2002-02-02 11:48:54 +00:00
#import <Cocoa/Cocoa.h>
#import "ResKnifeResourceProtocol.h"
@class HexWindowController, HexTextView, AsciiTextView;
2002-02-02 11:48:54 +00:00
@interface HexEditorDelegate : NSObject
{
IBOutlet HexWindowController *controller;
2002-02-02 11:48:54 +00:00
IBOutlet NSTextView *offset;
IBOutlet HexTextView *hex;
IBOutlet AsciiTextView *ascii;
IBOutlet NSTextField *message;
BOOL editedLow;
NSRange rangeForUserTextChange;
2002-02-02 11:48:54 +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
- (void)viewDidScroll:(NSNotification *)notification;
- (NSString *)offsetRepresentation:(NSData *)data;
- (HexWindowController *)controller;
2002-02-02 11:48:54 +00:00
- (NSTextView *)hex;
- (NSTextView *)ascii;
- (BOOL)editedLow;
- (void)setEditedLow:(BOOL)flag;
- (NSRange)rangeForUserTextChange;
2002-02-02 11:48:54 +00:00
@end