//
//  XTCommandHistory.h
//  TadsTerp
//
//  Created by Rune Berg on 25/06/14.
//  Copyright (c) 2014 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface XTCommandHistory : NSObject

@property NSUInteger maxCommandCount;  // prune commands if count > this
@property NSUInteger pruneCommandOverflowBy;  // prune commands by this amount

- (void)appendCommand:(NSString *)command;

- (NSString *)getPreviousCommand;

- (NSString *)getNextCommand;

- (BOOL)hasBeenAccessed;

- (void)resetHasBeenAccessed;

@end
