blob: 3cb0f23d06cf7e82103426b29407f29a35f3dc98 (
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
36
37
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
|