/* DXAsciiHexConverter */

#import <Cocoa/Cocoa.h>

@interface DXAsciiHexConverter : NSObject
{
	IBOutlet NSTokenField* hexField;
	IBOutlet NSTokenField* decField;
	IBOutlet NSTokenField* asciiField;
	BOOL settingData;
}

- (void) awakeFromNib;
- (void) setData: (NSData*) theData;
- (NSData*) data;
- (void) hexToAscii;
- (void) hexToDec;
- (void) decToHex;
- (void) hexToOthers;
- (void) decToOthers;

- (BOOL) isValidHex: (NSString*) hexString;
- (BOOL) isValidDec: (NSString*) decString;

@end
