mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-08-31 04:29:17 +00:00
35 lines
786 B
Objective-C
35 lines
786 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "ResKnifeResourceProtocol.h"
|
|
|
|
@class HexWindowController, HexTextView, AsciiTextView;
|
|
|
|
@interface HexEditorDelegate : NSObject
|
|
{
|
|
IBOutlet HexWindowController *controller;
|
|
IBOutlet NSTextView *offset;
|
|
IBOutlet HexTextView *hex;
|
|
IBOutlet AsciiTextView *ascii;
|
|
IBOutlet NSTextField *message;
|
|
|
|
BOOL editedLow;
|
|
NSRange rangeForUserTextChange;
|
|
}
|
|
|
|
/* REMOVE THESE WHEN I.B. IS FIXED */
|
|
- (void)setHex:(id)newView;
|
|
- (void)setAscii:(id)newView;
|
|
/* END REMOVE MARKER */
|
|
|
|
- (void)viewDidScroll:(NSNotification *)notification;
|
|
- (NSString *)offsetRepresentation:(NSData *)data;
|
|
|
|
- (HexWindowController *)controller;
|
|
- (NSTextView *)hex;
|
|
- (NSTextView *)ascii;
|
|
|
|
- (BOOL)editedLow;
|
|
- (void)setEditedLow:(BOOL)flag;
|
|
- (NSRange)rangeForUserTextChange;
|
|
|
|
@end |