//
//  GlkEventProtocol.h
//  CocoaGlk
//
//  Created by Andrew Hunter on 20/03/2005.
//  Copyright 2005 Andrew Hunter. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#include "glk.h"

//
// Protocol implemented by any class claiming to be a Glk event
//

@protocol GlkEvent

- (glui32) type;						// Type of event
- (unsigned) windowIdentifier;			// Needs to be converted to a winid_t in the client
- (glui32) val1;						// Event data
- (glui32) val2;						// More event data

- (NSString*) lineInput;				// Line data for a line input event

@end
