// FILE:      BrailleConverter.m
// AUTHOR:    Daniel Lee
// PURPOSE:   
// REFERENCE: None. 
// COMMENTS:  
// REQUIRES: BrailleConverter.h 
// Last Mod:  05-04-2006




#import "BrailleConverter.h"

@implementation BrailleConverter

// NAME: awakefromNIB
// PURPOSE: To initilise the view for use
// IMPORTS: nil
// EXPORTS: nil
// AUTHOR: Daniel Lee
// REMARKS: 
// LAST MODIFIED: 05-04-2006

- (void) awakefromNIB
{
    // Set the boxes to set the delegate to this object
    [intputTextView setDelegate:self];
	[outputTextView setDelegate:self];
}


// NAME: textDidChange
// PURPOSE: A delegate function to do the translation when the text is edited
// IMPORTS: NSNotification
// EXPORTS: nil
// AUTHOR: Daniel Lee
// REMARKS: 
// LAST MODIFIED: 31-03-2006

- (void) textDidChange: (NSNotification *) aNotification
{
    // Do things here to translate
	// Get direction
    // if direction is forward
	//    do forward translating and editing
	// else
	//    do backward translating and editing
	
	// Essentially both should 
	
	// make sure text is pasted to the ascii view
}


// NAME: 
// PURPOSE: 
// IMPORTS: 
// EXPORTS: 
// AUTHOR: 
// REMARKS: 
// LAST MODIFIED: 


@end
