blob: f99767cb4bee5b0293e594cc917c10c8fdacc7cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// license:BSD-3-Clause
// copyright-holders:Vas Crabb
//============================================================
//
// debugcommandhistory.h - MacOS X Cocoa debug window handling
//
//============================================================
#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
|