//
//  MCKeyInterceptWindow.h
//  MCApplication
//
//  Created by Alykhan Jetha on Thu Jan 16 2003.
//  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
//

#import <AppKit/AppKit.h>


@interface MCKeyInterceptWindow : NSWindow

@end

@interface NSObject (MCKeyInterceptWindowDelegate)

// Messages send to the responder chain of a window (which includes it's delegate)
// See MCApplication.h for exact notification names

- (void)controlLeftArrowNotification:(NSNotification *)aNotif;

- (void)controlRightArrowNotification:(NSNotification *)aNotif;

- (void)controlUpArrowNotification:(NSNotification *)aNotif;
- (void)controlDownArrowNotification:(NSNotification *)aNotif;

- (void)controlTabKeyNotification:(NSNotification *)aNotif;

// if first responder chain does not respond, then tries to show contextual menu if there is one and the first responder is a NSView
- (void)controlSpaceKeyNotification:(NSNotification *)aNotif;

@end

