//
//  XTUIUtils.h
//  TadsTerp
//
//  Created by Rune Berg on 29/09/14.
//  Copyright (c) 2014 Rune Berg. All rights reserved.
//


@interface XTUIUtils : NSObject

- (void)showModalErrorDialogWithMessageText:(NSString *)messageText;

- (BOOL)confirmAbortRunningGameInWindow:(NSWindow *)window
							messageText:(NSString *)messageText
						informativeText:(NSString *)informativeText
			  continuePlayingButtonText:(NSString *)continuePlayingButtonText
				  quitPlayingButtonText:(NSString *)quitPlayingButtonText;

- (NSInteger)runModalSheet:(NSAlert *)sheet forWindow:(NSWindow *)aWindow;

- (NSURL *)runModalOpenDirectorySheetForWindow:(NSWindow *)window
						   defaultDirectoryUrl:(NSURL *)defaultDirectoryUrl;

@end
