diff options
author | 2015-02-15 09:07:58 +1100 | |
---|---|---|
committer | 2015-02-17 17:31:51 +1100 | |
commit | 87e38fd1d30e53413bc1f94f0dfd340051a71253 (patch) | |
tree | 9274e6c3b33609c4e56fa4af427b48dd327f9c9b /src/osd/modules/debugger/osx/debugcommandhistory.h | |
parent | 1be009a431dc0b7fd98f6a5ecc3cb76d20588328 (diff) |
Remove redundant filename prefix
Diffstat (limited to 'src/osd/modules/debugger/osx/debugcommandhistory.h')
-rw-r--r-- | src/osd/modules/debugger/osx/debugcommandhistory.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/osd/modules/debugger/osx/debugcommandhistory.h b/src/osd/modules/debugger/osx/debugcommandhistory.h new file mode 100644 index 00000000000..3cb0f23d06c --- /dev/null +++ b/src/osd/modules/debugger/osx/debugcommandhistory.h @@ -0,0 +1,38 @@ +// license:BSD-3-Clause +// copyright-holders:Vas Crabb +//============================================================ +// +// debugosxdebugcommandhistory.h - MacOS X Cocoa debug window handling +// +// Copyright (c) 1996-2015, Nicola Salmoria and the MAME Team. +// Visit http://mamedev.org for licensing and usage restrictions. +// +//============================================================ + +#import "debugosx.h" + +#import <Cocoa/Cocoa.h> + + +@interface MAMEDebugCommandHistory : NSObject +{ + NSInteger length, position; + NSString *current; + NSMutableArray *history; +} + ++ (NSInteger)defaultLength; + +- (id)init; + +- (NSInteger)length; +- (void)setLength:(NSInteger)l; + +- (void)add:(NSString *)entry; +- (NSString *)previous:(NSString *)cur; +- (NSString *)next:(NSString *)cur; +- (void)edit; +- (void)reset; +- (void)clear; + +@end |